Hi,

We are running Cherokee 1.0.8 on Ubuntu 10.04, all up to date as of now.
We use Cherokee to serve Moodle 1.9.9, a PHP application, with MySQL running
on the same server, using FastCGI.

With a fresh start, everything works really fast, very nice. But after some
time, one of the PHP processes seems to get stuck. I don't get a 503 error,
it just takes really really really long. So much so, that I start getting
emails about it, because even though there are 10 FCGI processes running, it
affects everybody.
On the server, I see one of the PHP processes taking up 18-20% of the CPU,
while the rest sit doing nothing.
Here are my PHP source settings:
source!1!env!PHP_FCGI_CHILDREN = 10
source!1!env!PHP_FCGI_MAX_REQUESTS = 350
source!1!host = 127.0.0.1:47990
source!1!interpreter = /usr/bin/php-cgi -b 127.0.0.1:47990
source!1!nick = PHP Interpreter
source!1!type = interpreter

If I log on to the server, issue a "pkill -9 php", the 10 children get
immediately respawned, and it's all back to normal... for a while.

Any ideas?
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to