APC/eAccelerator "restarts"

#1
After installing Litespeed ent. which was rather easy even for a noob like me, we have a problem with APC.
For some reason APC "restarts" every now and then, sometimes its up for 5 sec sometimes for 5 min. We also tried eAccelerator with the same result.

We use PHP suEXEC, can this have anything to do with it?
 

mistwang

LiteSpeed Staff
#3
More likely the cache memory size has been set to a large value, you need to increase the memory limits for "lsphp5". Login to LSWS web console and check the configuration of server level lsphp5 external application.
 
#4
I tried cache memory size from 8-128 mb and none worked, over 128 was just 503 error.
The memory limit for lsphp5 was 512 so that shouldn't be the problem..
 

mistwang

LiteSpeed Staff
#5
What you experienced is normal I think, as PHP suEXEC will not share the same opcode cache memory like Apache mod_php does, each lsphp5 process will have its own cache memory, so, in order to make it more efficient, make the on disk cache storage available.
 
Top