D
D
DRUN2011-09-08 11:00:24
PHP
DRUN, 2011-09-08 11:00:24

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

4 answer(s)
H
homm, 2011-09-08
@homm

> APC: 1 shared memory segment for 3 gigabytes
Wow. And how many of them are busy? (apc_sma_info)

L
lashtal, 2011-09-08
@lashtal

Could this be the case? www.php.net/manual/en/apc.configuration.php#95980

M
Maxim, 2011-09-08
@maxout

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.

Z
zizop, 2011-09-08
@zizop

APC has a great utility in the package - apc.php . She gives out a bunch of static, watch, maybe then you will understand the reason.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question