Сколько времени требуется OptimumCache для инициализации?
Форум
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and cPanel
  1. Troy Leaver
  2. Thursday, 06 November 2014
  3.  Subscribe via email
I've just installed OptimumCache on a server to give it a try. The terminal session timed out before it finished going through /home, (yes I *should* have used screen), but there is a /usr/sbin/optimumcache_s has been running now for a good six hours. Is that indicative of the process still running, and should it take this long? It's a four core 16GB server that runs really well/fast, and even with optimumcache_s  consuming 50-100% CPU the load is okay (though higher than normal), but I would like some assurance that it's still running my "optimumcache mark --recursive /home" command versus being some sort of hung process.
Rate this post:
  1. 07.11.2014 08:11:30
  2. # 1
Igor Seletskiy Accepted Answer
Posts: 1200
Joined: 09.02.2010
0
Votes
Undo
There is a straightforward way to differentiate \"optimumcache mark --recursive /home\" task from optimumcache_s resident daemon:

# ps -f -C optimumcache_s

gives stats on the daemon, which is responsible to cache what have been \"marked\" for caching earlier.

# ps -f -C optimumcache

gives stats on \"optimumcache mark --recursive /home\" task is running, if any.

High CPU consumption is known caveat of using optimumcache for some deploys. We are working on this problem.
  1. 13.11.2014 19:11:25
  2. # 2
Ray Baron Accepted Answer
Posts: 32
Joined: 01.04.2013
0
Votes
Undo
High CPU consumption is known caveat of using optimumcache for some deploys.

Are you referring to high CPU during initialization only or as a constant state during normal operation?
  1. 13.11.2014 23:11:19
  2. # 3
Igor Seletskiy Accepted Answer
Posts: 1200
Joined: 09.02.2010
0
Votes
Undo
I am refering to normal operation -- in some particular situations. We should have a patch for that soon.
  1. 21.09.2016 02:09:49
  2. # 4
Jaroslav Petrusevic Accepted Answer
Posts: 2
Joined: 23.08.2016
0
Votes
Undo
So if I see this:

# ps -f -C optimumcache 
UID          PID    PPID  C STIME TTY          TIME CMD
root      326830  326829  1 02:34 ?        00:05:34 /usr/bin/optimumcache mark --recursive /home
root      714484  714483 44 09:42 ?        00:00:01 /usr/bin/optimumcache stat --yaml --brief

it is normal? it is just initializing yet?

Thanks
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
гость
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.