APC trouble

#1
Hi...

I am having an issue with APC. The problem is that it appears to be running a separate copy of APC for each thread (or process, I'm not sure). This means that the cache keeps expiring itself when it shouldn't.

Here is my APC info page:

http://admin.wb.gs/apc.php

You will see that the uptime is not very long. Litespeed has actually been up for a few days already without being restarted. If you reload the page a few times, you will probably see the figures changing dramatically.

This is causing me problems and I can't figure it out. Any help would be greatly appreciated.

Thanks,

Matt
 
#2
Sorry folks, I just figured this out myself.

For anyone who finds this thread with the same problem, add an environment variable called PHP_LSAPI_CHILDREN and make it equal to the "Max Connections" variable, like this:

PHP_LSAPI_CHILDREN=50

Also, set instances to 1.
 
Top