0.6.30 @ linux amd64 & fcgi

Sergey Serov mpa at corg.net
Thu May 8 08:05:02 MSD 2008


On Thursday 08 May 2008, Sergey Serov wrote:
> On Wednesday 07 May 2008, Igor Sysoev wrote:
> > > А если попробовать прилагаемый патч для 0.5.27 ?
> >
> > -        if (rc == NGX_OK) {
> > +        if (rc == NGX_OK && u->buffer.pos == u->buffer.last) {
>
> В логах появляется:
> 5.7006" 2008/05/08 03:22:42 [alert] 29070#0: *1 upstream split a header
> line in FastCGI records while reading response header from upstream,
> client: 125.24.35.220, server: dev.example.net, URL: "/login", upstream:
> "fastcgi://unix:/tmp/example_dev.sock:", host: "dev.example.net", referrer:
> "http://dev.example.net/registration"

Скорее всего я каким-то образом ошибся в пред. тесте.
Пред. раз я пересобрал не полностью, а только то что сделал make после изменений в одном файле. После make clean (на 
самом деле dpkg-buildpackage) и полной пересборки появляется все то же сообщение про recv() failed (95: Operation not 
supported


2008/05/08 03:39:39 [debug] 3720#0: *1 http fastcgi record length: 145
2008/05/08 03:39:39 [debug] 3720#0: *1 http fastcgi parser: 0
2008/05/08 03:39:39 [debug] 3720#0: *1 http fastcgi header: "Content-Length: 10764"
2008/05/08 03:39:39 [debug] 3720#0: *1 http fastcgi parser: 0
2008/05/08 03:39:39 [debug] 3720#0: *1 http fastcgi header: "Content-Type: text/html; charset=utf-8"
2008/05/08 03:39:39 [debug] 3720#0: *1 http fastcgi parser: 0
2008/05/08 03:39:39 [debug] 3720#0: *1 http fastcgi header: "Set-Cookie: _ul=admin; domain=.example.net; path=/"
2008/05/08 03:39:39 [debug] 3720#0: *1 http fastcgi parser: 0
2008/05/08 03:39:39 [debug] 3720#0: *1 http fastcgi header: "Status: 200"
2008/05/08 03:39:39 [debug] 3720#0: *1 http fastcgi parser: 0
2008/05/08 03:39:39 [debug] 3720#0: *1 http fastcgi header: "X-Catalyst: 5.7006"
2008/05/08 03:39:39 [debug] 3720#0: *1 http upstream dummy handler
2008/05/08 03:39:39 [debug] 3720#0: *1 http upstream process header
2008/05/08 03:39:39 [debug] 3720#0: *1 recv: fd:22 -1 of 0
2008/05/08 03:39:39 [crit] 3720#0: *1 recv() failed (95: Operation not supported) while reading response header from upstream, client: 
125.24.35.220, server: dev.example.net, URL: "/users/account", upstream: "fastcgi://unix:/tmp/example_dev.sock:", 
host: "dev.example.net", referrer: "http://dev.example.net/registration"







More information about the nginx-ru mailing list