PHP FastCGI и "upstream prematurely closed connection"

Roxis roxis at list.ru
Mon Apr 9 11:45:44 MSD 2007


On Monday 09 April 2007, Сухачев Андрей wrote:
>      By default, PHP stops accepting new FastCGI connections after handling
> 500 requests; unfortunately, there is a potential race condition during the
> PHP cleanup code in which PHP can be shutting down but still have the
> socket open, so mod_fcgid under heavy load can send request number 501 to
> PHP and have it "accepted", but then PHP appears to simply exit, causing
> errors.
>   Надо будет проверить это...

PHP_FCGI_MAX_REQUESTS по дефолту равно 500





More information about the nginx-ru mailing list