LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   Install/Configuration (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=11)
-   -   APC/eAccelerator "restarts" (http://www.litespeedtech.com/support/forum/showthread.php?t=2660)

alatom 01-28-2009 06:36 AM

APC/eAccelerator "restarts"
 
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?

alatom 01-29-2009 11:18 AM

Problem solved.. uninstalled litespeed enterprise and went for good old apache.. and voila! it works!

mistwang 01-29-2009 11:55 AM

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.

alatom 01-29-2009 12:11 PM

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 01-29-2009 01:02 PM

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.

alatom 01-29-2009 01:27 PM

From what I understand by the wiki article only a single APC shared memory slice will be created and shared by all children when using that method.

mistwang 01-29-2009 01:44 PM

That's true for PHP in non-suEXEC mode.


All times are GMT -7. The time now is 11:18 AM.