Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev ][Date Next ][Thread Prev ][Thread Next ][Date Index ][Thread Index ]
Re: broken epoll
Здравствуйте,
Andrew Sitnikov wrote:
Hello Rommer,
R> Этот эффект пропал, зато появился новый - nginx не закрывает коннекты со
своей
R> стороны при редиректах (302) после того как отдаст все заголовки (body
R> естественно нет) если использовать rtsig. Так что опять переключил на epoll.
думаю надо сделать отладочный лог и ждать Игоря из отпуска.
Вот собственно отладочный лог для. Будем ждать.
--
С уважением,
Роман Шишнёв
-------------------------------
e-mail: mailto:rommer@xxxxxxxxx
2006/06/14 13:21:04 [debug] 21784#0: rtsig add connection: fd:33 signo:46
2006/06/14 13:21:04 [debug] 21784#0: *228 post event 4025685C
2006/06/14 13:21:04 [debug] 21784#0: *228 delete posted event 4025685C
2006/06/14 13:21:04 [debug] 21784#0: *228 malloc: 0824F518:640
2006/06/14 13:21:04 [debug] 21784#0: *228 malloc: 0849E638:65536
2006/06/14 13:21:04 [debug] 21784#0: *228 malloc: 08186AD8:4096
2006/06/14 13:21:04 [debug] 21784#0: *228 http process request line
2006/06/14 13:21:04 [debug] 21784#0: *228 recv: fd:33 -1 of 65536
2006/06/14 13:21:04 [debug] 21784#0: *228 recv() not ready (11: Resource
temporarily unavailable)
2006/06/14 13:21:04 [debug] 21784#0: *228 event timer add: 33: 300000:3524496539
2006/06/14 13:21:04 [debug] 21784#0: *228 post event 4025685C
2006/06/14 13:21:04 [debug] 21784#0: *228 delete posted event 4025685C
2006/06/14 13:21:04 [debug] 21784#0: *228 http process request line
2006/06/14 13:21:04 [debug] 21784#0: *228 recv: fd:33 462 of 65536
2006/06/14 13:21:04 [debug] 21784#0: *228 http request line: "GET /gallery/
HTTP/1.1"
2006/06/14 13:21:04 [debug] 21784#0: *228 http uri: "/gallery/"
2006/06/14 13:21:04 [debug] 21784#0: *228 http args: ""
2006/06/14 13:21:04 [debug] 21784#0: *228 http exten: ""
2006/06/14 13:21:04 [debug] 21784#0: *228 http process request header line
2006/06/14 13:21:04 [debug] 21784#0: *228 http header: "Host: xxxxxxx.xx"
2006/06/14 13:21:04 [debug] 21784#0: *228 http header: "User-Agent: Mozilla/5.0
(X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4"
2006/06/14 13:21:04 [debug] 21784#0: *228 http header: "Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"
2006/06/14 13:21:04 [debug] 21784#0: *228 http header: "Accept-Language:
ru,en-us;q=0.7,en;q=0.3"
2006/06/14 13:21:04 [debug] 21784#0: *228 http header: "Accept-Encoding:
gzip,deflate"
2006/06/14 13:21:04 [debug] 21784#0: *228 http header: "Accept-Charset:
windows-1251,utf-8;q=0.7,*;q=0.7"
2006/06/14 13:21:04 [debug] 21784#0: *228 http header: "Keep-Alive: 300"
2006/06/14 13:21:04 [debug] 21784#0: *228 http header: "Connection: keep-alive"
2006/06/14 13:21:04 [debug] 21784#0: *228 http header: "Cookie:
GALLERYSID=32a4293e3536e0608532fd26bf02b20d"
2006/06/14 13:21:04 [debug] 21784#0: *228 http header done
2006/06/14 13:21:04 [debug] 21784#0: *228 event timer del: 33: 3524496539
2006/06/14 13:21:04 [debug] 21784#0: *228 http phase handler
2006/06/14 13:21:04 [debug] 21784#0: *228 find location for "/gallery/"
2006/06/14 13:21:04 [debug] 21784#0: *228 find location: "/"
2006/06/14 13:21:04 [debug] 21784#0: *228 find location: =
"/502-bad-gateway.html"
2006/06/14 13:21:04 [debug] 21784#0: *228 find location: ~
"^/(webmail|myadmin|phpMyAdmin)/.+\.(jpg|jpeg|gif|png|bmp|ico|css)$"
2006/06/14 13:21:04 [debug] 21784#0: *228 find location: ~
"^/(webmail|myadmin|phpMyAdmin)"
2006/06/14 13:21:04 [debug] 21784#0: *228 using configuration "/"
2006/06/14 13:21:04 [debug] 21784#0: *228 http cl:-1 max:10485760
2006/06/14 13:21:04 [debug] 21784#0: *228 access: 344CDEC3 00000000 00000000
2006/06/14 13:21:04 [debug] 21784#0: *228 http init upstream, client timer: 0
2006/06/14 13:21:04 [debug] 21784#0: *228 http proxy header: "User-Agent:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4"
2006/06/14 13:21:04 [debug] 21784#0: *228 http proxy header: "Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"
2006/06/14 13:21:04 [debug] 21784#0: *228 http proxy header: "Accept-Language:
ru,en-us;q=0.7,en;q=0.3"
2006/06/14 13:21:04 [debug] 21784#0: *228 http proxy header: "Accept-Encoding:
gzip,deflate"
2006/06/14 13:21:04 [debug] 21784#0: *228 http proxy header: "Accept-Charset:
windows-1251,utf-8;q=0.7,*;q=0.7"
2006/06/14 13:21:04 [debug] 21784#0: *228 http proxy header: "Cookie:
GALLERYSID=32a4293e3536e0608532fd26bf02b20d"
2006/06/14 13:21:04 [debug] 21784#0: *228 http proxy header:
"GET /gallery/ HTTP/1.0
Host: xxxxxxx.xx
X-Real-IP: XXX.XXX.XX.XX
Connection: close
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511
Firefox/1.0.4
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: ru,en-us;q=0.7,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: windows-1251,utf-8;q=0.7,*;q=0.7
Cookie: GALLERYSID=32a4293e3536e0608532fd26bf02b20d
"
2006/06/14 13:21:04 [debug] 21784#0: *228 http cleanup add: 0818741C
2006/06/14 13:21:04 [debug] 21784#0: *228 socket 49
2006/06/14 13:21:04 [debug] 21784#0: *228 rtsig add connection: fd:49 signo:46
2006/06/14 13:21:04 [debug] 21784#0: *228 connect to 127.0.0.2:80, fd:49 #233
2006/06/14 13:21:04 [debug] 21784#0: *228 http upstream connect: -2
2006/06/14 13:21:04 [debug] 21784#0: *228 event timer add: 49: 300000:3524496590
2006/06/14 13:21:04 [debug] 21784#0: *228 post event 402D9828
2006/06/14 13:21:04 [debug] 21784#0: *228 delete posted event 402D9828
2006/06/14 13:21:04 [debug] 21784#0: *228 http upstream send request handler
2006/06/14 13:21:04 [debug] 21784#0: *228 http upstream send request
2006/06/14 13:21:04 [debug] 21784#0: *228 chain writer buf size: 466
2006/06/14 13:21:04 [debug] 21784#0: *228 chain writer in: 08187428
2006/06/14 13:21:04 [debug] 21784#0: *228 writev: 466
2006/06/14 13:21:04 [debug] 21784#0: *228 chain writer out: 00000000
2006/06/14 13:21:04 [debug] 21784#0: *228 event timer del: 49: 3524496590
2006/06/14 13:21:04 [debug] 21784#0: *228 event timer add: 49: 300000:3524496590
2006/06/14 13:21:04 [debug] 21784#0: *228 post event 40256828
2006/06/14 13:21:04 [debug] 21784#0: *228 delete posted event 40256828
2006/06/14 13:21:04 [debug] 21784#0: *228 http upstream process header
2006/06/14 13:21:04 [debug] 21784#0: *228 malloc: 4039D008:262144
2006/06/14 13:21:04 [debug] 21784#0: *228 recv: fd:49 216 of 262144
2006/06/14 13:21:04 [debug] 21784#0: *228 http proxy status 0 "302 Found"
2006/06/14 13:21:04 [debug] 21784#0: *228 http proxy header: "Date: Wed, 14 Jun
2006 10:21:04 GMT"
2006/06/14 13:21:04 [debug] 21784#0: *228 http proxy header: "Server:
Apache/2.0.55"
2006/06/14 13:21:04 [debug] 21784#0: *228 http proxy header: "X-Powered-By:
PHP/4.4.2"
2006/06/14 13:21:04 [debug] 21784#0: *228 http proxy header: "Location:
http://xxxxxxx.xx/gallery/main.php" ;
2006/06/14 13:21:04 [debug] 21784#0: *228 http proxy header: "Content-Length: 0"
2006/06/14 13:21:04 [debug] 21784#0: *228 http proxy header: "Connection: close"
2006/06/14 13:21:04 [debug] 21784#0: *228 http proxy header: "Content-Type:
text/html"
2006/06/14 13:21:04 [debug] 21784#0: *228 http proxy header done
2006/06/14 13:21:04 [debug] 21784#0: *228 HTTP/1.1 302 Found
Server: nginx/0.3.49
Date: Wed, 14 Jun 2006 10:21:04 GMT
Content-Type: text/html
Connection: keep-alive
Keep-Alive: timeout=60
X-Powered-By: PHP/4.4.2
Location: http://xxxxxxx.xx/gallery/main.php
Content-Length: 0
2006/06/14 13:21:04 [debug] 21784#0: *228 write new buf t:1 f:0 08187630, pos
08187630, size: 244 file: 0, size: 0
2006/06/14 13:21:04 [debug] 21784#0: *228 http write filter: l:0 f:0 s:244
2006/06/14 13:21:04 [debug] 21784#0: *228 http output filter "/gallery/?"
2006/06/14 13:21:04 [debug] 21784#0: *228 copy filter: "/gallery/?"
2006/06/14 13:21:04 [debug] 21784#0: *228 http postpone filter "/gallery/?"
BFFFF2F8
2006/06/14 13:21:04 [debug] 21784#0: *228 http postpone filter out "/gallery/?"
2006/06/14 13:21:04 [debug] 21784#0: *228 write old buf t:1 f:0 08187630, pos
08187630, size: 244 file: 0, size: 0
2006/06/14 13:21:04 [debug] 21784#0: *228 write new buf t:0 f:0 00000000, pos
00000000, size: 0 file: 0, size: 0
2006/06/14 13:21:04 [debug] 21784#0: *228 http write filter: l:0 f:1 s:244
2006/06/14 13:21:04 [debug] 21784#0: *228 http write filter to send 0
2006/06/14 13:21:04 [debug] 21784#0: *228 writev: 244
2006/06/14 13:21:04 [debug] 21784#0: *228 http write filter 00000000
2006/06/14 13:21:04 [debug] 21784#0: *228 copy filter: 0 "/gallery/?"
2006/06/14 13:21:04 [debug] 21784#0: *228 post event 40256828
2006/06/14 13:21:04 [debug] 21784#0: *228 delete posted event 40256828
2006/06/14 13:21:04 [debug] 21784#0: *228 http upstream process non buffered
upstream
2006/06/14 13:21:04 [debug] 21784#0: *228 event timer add: 33: 300000:3524496597
2006/06/14 13:21:04 [debug] 21784#0: *228 event timer: 49, old: 3524496590,
new: 3524496597
2006/06/14 13:21:04 [debug] 21784#0: *228 post event 40256828
2006/06/14 13:21:04 [debug] 21784#0: *228 delete posted event 40256828
2006/06/14 13:21:04 [debug] 21784#0: *228 http upstream process non buffered
upstream
2006/06/14 13:21:04 [debug] 21784#0: *228 event timer: 33, old: 3524496597,
new: 3524496597
2006/06/14 13:21:04 [debug] 21784#0: *228 event timer: 49, old: 3524496590,
new: 3524496597
2006/06/14 13:21:04 [debug] 21784#0: *228 post event 4025685C
2006/06/14 13:21:04 [debug] 21784#0: *228 delete posted event 4025685C
2006/06/14 13:21:04 [debug] 21784#0: *228 http upstream check client, write
event:0, "/gallery/"