Answer the question
In order to leave comments, you need to log in
Php 5.3 fpm + apc cache?
Good afternoon,
After several hours of work, the php-fpm + apc bundle falls down, ceasing to accept requests.
Tell me what could be the problem and which way to look.
Settings:
Debian Squeeze, kernel 2.6.32-35, gcc 4.3.5,
PHP 5.3.8 with Suhosin v0.9.32.1, apc - 3.1.9
APC: 1 shared memory segment per 3 gigabytes
(mmap memory, pthread mutex Locks locking)
The number of requests to the server - up to 200 per second, depending on the time of day
Answer the question
In order to leave comments, you need to log in
> APC: 1 shared memory segment for 3 gigabytes
Wow. And how many of them are busy? (apc_sma_info)
Could this be the case? www.php.net/manual/en/apc.configuration.php#95980
so what does strace say? on our farm, too, APC goes into an endless sched_yeild () somewhere after 12-36 hours after launch. bug on APC scored. moved to XCache.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question