View Single Post
  #51  
Old 05-08-2012, 07:36 PM
semprot semprot is offline
Member
 
Join Date: Apr 2012
Posts: 41
Quote:
Originally Posted by NiteWave View Post
maybe you refer:
http://xcache.lighttpd.net/wiki/Faq#...hebeingcleared

then how many litespeed processes are running on your server?
#pstree -p | grep litespeed

what you observed is just the reason why on shared hosting environment, only eAccelerator is recommended. all php processes can share the opcode cache under a single disk folder, like /tmp/eaccelerator. usually, php suExec is enabled in such environment. APC and XCache only keep opcode cache in memory. so each group of php processes will have its own cache.
Here it is (while i open litespeed admin on whm)
Code:
root@mybox [~]# pstree -p | grep litespeed
        |-litespeed(28249)-+-httpd(28250)
        |                  |-litespeed(28251)-+-admin_php(32375)
        |                  |                  |-{litespeed}(28253)
        |                  |                  `-{litespeed}(28254)
        |                  `-litespeed(28252)-+-lsphp5(28271)-+-lsphp5(32446)
        |                                     |-{litespeed}(28255)
        |                                     `-{litespeed}(28256)
Quote:
Originally Posted by NiteWave View Post
ok, this suggest me might that reason ....
please post the lsphp5's setting:
Server -> External App -> lsphp5: View
Here it is
Code:
Name : lsphp5
Address	 : uds://tmp/lshttpd/lsphp5.sock
Notes : Not Set
Max Connections	: 35

Environment :
PHP_LSAPI_MAX_REQUESTS=500
PHP_LSAPI_CHILDREN=35
Initial Request Timeout (secs) : 60
Retry Timeout (secs) : 0
Persistent Connection : Yes
Connection Keepalive Timeout : Not Set
Response Buffering : No
Auto Start : Yes
Command	: $SERVER_ROOT/fcgi-bin/lsphp5
Back Log : 100
Instances : 1
suEXEC User : Not Set
suEXEC Group : Not Set
Run On Start Up	: Not Set
Max Idle Time : 10
Priority : 0
Memory Soft Limit (bytes) : 1024M
Memory Hard Limit (bytes) : 1024M
Process Soft Limit : 500
Process Hard Limit : 500
What setting should i change? Max idle time to -1?
__________________
I use litespeed
Reply With Quote