On 13/12/2009, at 22:55, Démi Zsolt wrote:

>> What happens if you kill php-cgi when the server got unresponsive?
>>   
> When I kill the php-cgi process the cherokee restart it, after the restart it 
> works for a second but It's slow down again and giving http 505 error. I have 
> to search for the problem in php?

Well, I wouldn't dare to assure it, but yes, it's likely cause. The FastCGI 
implementation of php-cgi is well know for being kind of prone to fail and 
block.

I'd suggest you to explore a couple of different choices: first, set 
PHP_FCGI_MAX_REQUESTS to 490. It seems that php-cgi starts to act funny after 
500 requests (I have no idea why). If that didn't work, then I'd give php-fpm a 
try (an alternative FastCGI implementation for the php-cgi interpreter); it 
seems to be more stable.

>> Ah, BTW.. which version of Cherokee are you using?
>> 
> 0.99.29

If you have the chance, I'd suggest you to upgrade to the latest release. Among 
many other things, the PHP wizard will detect and configure php-fpm 
automatically.

--
Octality
http://www.octality.com/

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

Reply via email to