On 04/12/2010, at 02:22, pub crawler wrote:

> I request a PHP page and it just hangs out until Cherokee finally
> times out the request (randomly - not on every request or anything I
> can establish at this point).
> 
> Only way to recover from this is to manually kill the php-cgi process.
>  Then it's back to normal until next time it fails.
> 
> Is there something I am overlooking?  How do we avoid/graciously
> monitor and/or recover from such.
> 
> The handler is set up as FastCGI type.

Is the PHP_FCGI_MAX_REQUESTS environment variable of the Information Source set 
to 490?  For some reason, it seems that php-cgi can hang is that value is 
higher than 500.

The second option would be to replace php-cgi with php-fpm (a is new FastCGI 
manager for PHP that seems to work better than php-cgi).

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

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

Reply via email to