Re[2]: PHP FastCGI и "upstream prematurely closed connection"

Сухачев Андрей andrew at comby.com
Mon Apr 9 11:39:42 MSD 2007


Hello Бир,

Sunday, April 8, 2007, 4:47:16 PM, you wrote:

> Похожая ситуация. + к этому, connection refused.
> У вас получилось выяснить причину этого бедствия?

  Боюсь что нет. :( Я сильно увеличил кол-во процессов PHP, но это не помогло...

  Может быть действительно дело в:

     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. 

  Надо будет проверить это...

-- 
Best regards,
 Сухачев                            mailto:andrew at comby.com






More information about the nginx-ru mailing list