0.6.30 @ linux amd64 & fcgi

Igor Sysoev is at rambler-co.ru
Wed May 7 21:05:15 MSD 2008


On Wed, May 07, 2008 at 06:34:07AM +0000, Sergey Serov wrote:

> Иногда случается не таймаут,а следующее
> 
> 2008/05/07 06:05:36 [debug] 18286#0: *3 http fastcgi record byte: 00
> 2008/05/07 06:05:36 [debug] 18286#0: *3 http fastcgi record length: 145
> 2008/05/07 06:05:36 [debug] 18286#0: *3 http fastcgi parser: 0
> 2008/05/07 06:05:36 [debug] 18286#0: *3 http fastcgi header: "Content-Length: 
> 10389"
> 2008/05/07 06:05:36 [debug] 18286#0: *3 http fastcgi parser: 0
> 2008/05/07 06:05:36 [debug] 18286#0: *3 http fastcgi header: "Content-Type: 
> text/html; charset=utf-8"
> 2008/05/07 06:05:36 [debug] 18286#0: *3 http fastcgi parser: 0
> 2008/05/07 06:05:36 [debug] 18286#0: *3 http fastcgi header: "Set-Cookie: 
> _ul=admin; domain=.furk.net; path=/"
> 2008/05/07 06:05:36 [debug] 18286#0: *3 http fastcgi parser: 0
> 2008/05/07 06:05:36 [debug] 18286#0: *3 http fastcgi header: "Status: 200"
> 2008/05/07 06:05:36 [debug] 18286#0: *3 http fastcgi parser: 0
> 2008/05/07 06:05:36 [debug] 18286#0: *3 http fastcgi header: "X-Catalyst: 
> 5.7006"
> 2008/05/07 06:05:36 [debug] 18286#0: *3 http upstream dummy handler
> 2008/05/07 06:05:36 [debug] 18286#0: *3 http upstream process header
> 2008/05/07 06:05:36 [debug] 18286#0: *3 recv: fd:27 0 of 0
> 2008/05/07 06:05:36 [error] 18286#0: *3 upstream prematurely closed connection 
> while reading response header from upstream,................
> 
> 
> strace fcgi cервера показывает следующее
> 
> write(5, "\1\6\0\1\10\235\3\0<a href=\"/users/account\""..., 2240) = 2240
> shutdown(5, 1 /* send */)               = 0
> select(6, [5], NULL, NULL, {2, 0})      = 1 (in [5], left {2, 0})
> read(5, 0x7fffa7bc9e30, 1024)           = -1 ECONNRESET (Connection reset by 
> peer)
> close(5)                                = 0
> accept(3,

ECONNRESET - странная ошибка: nginx не закрывает соединение с RST.
nginx и fastcgi находятся на одной машине ?


-- 
Игорь Сысоев
http://sysoev.ru





More information about the nginx-ru mailing list