Re: Аплоад ведет себя странно

Gena Makhomed gmm at csdoc.com
Mon Jun 15 11:42:10 MSD 2009


On Monday, June 15, 2009 at 2:21:24, Роман wrote:

Р> пересобрал без uploadprogress
Р> тоже самое - в дебаге заливает, без - нет
Р> это ппц какой то (

Ok. значит причина глюка не в модуле uploadprogress.

Р> 2009/06/15 03:07:02 [error] 77713#0: *272 kevent() reported about an
Р> closed connection while sending request to upstream, client:
Р> 192.168.0.8, server: testsite.ru, request: "POST
Р> /newattachment.php?do=manageattach&p=1457 HTTP/1.1", upstream:
Р> "fastcgi://unix:/var/run/php-fpm/test.sock:", host: "www.testsite.ru",
Р> referrer:
Р> "http://www.testsite.ru/newattachment.php?p=1457&editpost=1&poststarttime=1245020725&posthash=2f4485d649747f4a6419d71f216ded80"

"kevent() reported about an closed connection while sending request to upstream"

т.е. fastcgi скрипт закрыл соединение пока ему заливали POST`ом файл.

P> в php.ini все в порядке

c backend`ом точно все в порядке?
может быть он по timeout`у закрывает соединение?
или что-то в этом роде. источник проблем - скорее всего там.
он не пишет в свои логи по какой причине закрыл connection?

P.S.
backend - это php-fpm. он умеет accelerated upload support,
и скорее всего таким способом можно будет обойти этот глюк.
http://php-fpm.anight.org/extra_features.html#accelerated_upload

-- 
Best regards,
 Gena






More information about the nginx-ru mailing list