Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: image_filter too big response обрывае т соединение
- To: nginx-ru@xxxxxxxxx
- Subject: Re: image_filter too big response обрывае т соединение
- From: Alexander Azarov <azarov@xxxxxx>
- Date: Thu, 29 Jul 2010 13:26:51 +0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:mime-version :content-type:subject:date:in-reply-to:to:references:message-id :x-mailer; bh=3S8eZQydFFq734fL/DR7OzPWZ6mSCAlON1gU6OD2EQQ=; b=Au2FtrB8b/lN8r3dcmkgPROcRbJ8B3YXHUmuqZqcPbSyEtZsfvEzLtpQYpVYd86a/f lvsDjug95tiOuyhOJ/hTDuwcdiJ/ith5NUz/7mA3fm2v3xuJc8/5/MdO+mLI9be1zejH 7QjxwJLmbpfNgx8oTWpP1mldrMeudj1PKO6eM=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:mime-version:content-type:subject:date:in-reply-to:to :references:message-id:x-mailer; b=pF5SPStSvBJ1Jsscg1yvyPs1PKWdCEPFqjcrsL/VJT4IEQAo1Ry17YEdJjYGo49juG o52jCBSFJeaKAqhMq3GRVs/spatp7/y2zgzzlx53Ra0Bg3jZxs8W7/1YogrNFin9nduo Vu+d2s5eTzWmxTsd0oTH3rTGWF5MP5emDQzsg=
- In-reply-to: <40BCD58C-2954-4013-A38F-B3BF54C3AC34@xxxxxx>
- References: <40BCD58C-2954-4013-A38F-B3BF54C3AC34@xxxxxx>
$ uname -a
Linux r1 2.6.26-2-vserver-amd64 #1 SMP Thu Nov 5 03:47:07 UTC 2009 x86_64
GNU/Linux
$ /usr/local/sbin/nginx -V
nginx version: nginx/0.8.46
built by gcc 4.3.2 (Debian 4.3.2-1.1)
TLS SNI support enabled
configure arguments: --prefix=/usr/local --conf-path=/etc/nginx/nginx.conf
--pid-path=/var/run/nginx.pid --user=www-data --group=www-data --with-md5=/usr
--http-proxy-temp-path=/var/cache/nginx/tmp_proxy
--http-fastcgi-temp-path=/var/cache/nginx/tmp_fcgi
--http-client-body-temp-path=/var/cache/nginx/tmp_body
--with-http_stub_status_module --with-cc-opt=-I/usr/include/pcre
--with-ld-opt=-L/usr/lib --with-http_perl_module --with-http_realip_module
--with-http_sub_module --with-debug --without-mail_pop3_module
--without-mail_imap_module --without-mail_smtp_module
--with-http_gzip_static_module --with-http_ssl_module
--with-http_image_filter_module
Debug лог запроса в аттаче
2010/07/24 12:21:02 [debug] 20671#0: *82741 accept: 192.168.100.200 fd:36
2010/07/24 12:21:02 [debug] 20671#0: *82741 event timer add: 36:
60000:1279959722383
2010/07/24 12:21:02 [debug] 20671#0: *82741 epoll add event: fd:36 op:1
ev:80000001
2010/07/24 12:21:02 [debug] 20671#0: *82741 post event 00007FB711BD55C0
2010/07/24 12:21:02 [debug] 20671#0: *82741 delete posted event 00007FB711BD55C0
2010/07/24 12:21:02 [debug] 20671#0: *82741 malloc: 00000000016D3F00:1256
2010/07/24 12:21:02 [debug] 20671#0: *82741 posix_memalign:
00000000016D67D0:256 @16
2010/07/24 12:21:02 [debug] 20671#0: *82741 malloc: 00000000016D5140:2048
2010/07/24 12:21:02 [debug] 20671#0: *82741 posix_memalign:
00000000016DA6D0:4096 @16
2010/07/24 12:21:02 [debug] 20671#0: *82741 http process request line
2010/07/24 12:21:02 [debug] 20671#0: *82741 recv: fd:36 430 of 2048
2010/07/24 12:21:02 [debug] 20671#0: *82741 http request line: "GET
/info/0c2e49879f9f.jpg HTTP/1.1"
2010/07/24 12:21:02 [debug] 20671#0: *82741 http uri: "/info/0c2e49879f9f.jpg"
2010/07/24 12:21:02 [debug] 20671#0: *82741 http args: ""
2010/07/24 12:21:02 [debug] 20671#0: *82741 http exten: "jpg"
2010/07/24 12:21:02 [debug] 20671#0: *82741 http process request header line
2010/07/24 12:21:02 [debug] 20671#0: *82741 http header: "Host: front.local"
2010/07/24 12:21:02 [debug] 20671#0: *82741 http header: "User-Agent:
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; ru; rv:1.9.2.7) Gecko/20100713
Firefox/3.6.7"
2010/07/24 12:21:02 [debug] 20671#0: *82741 http header: "Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
2010/07/24 12:21:02 [debug] 20671#0: *82741 http header: "Accept-Language:
ru,en-us;q=0.7,en;q=0.3"
2010/07/24 12:21:02 [debug] 20671#0: *82741 http header: "Accept-Encoding:
gzip,deflate"
2010/07/24 12:21:02 [debug] 20671#0: *82741 http header: "Accept-Charset:
windows-1251,utf-8;q=0.7,*;q=0.7"
2010/07/24 12:21:02 [debug] 20671#0: *82741 http header: "Keep-Alive: 115"
2010/07/24 12:21:02 [debug] 20671#0: *82741 http header: "Connection:
keep-alive"
2010/07/24 12:21:02 [debug] 20671#0: *82741 http header done
2010/07/24 12:21:02 [debug] 20671#0: *82741 event timer del: 36: 1279959722383
2010/07/24 12:21:02 [debug] 20671#0: *82741 generic phase: 0
2010/07/24 12:21:02 [debug] 20671#0: *82741 rewrite phase: 1
2010/07/24 12:21:02 [debug] 20671#0: *82741 test location: "/"
2010/07/24 12:21:02 [debug] 20671#0: *82741 test location: ---
2010/07/24 12:21:02 [debug] 20671#0: *82741 test location: "info/"
2010/07/24 12:21:02 [debug] 20671#0: *82741 test location: ~ ---
2010/07/24 12:21:02 [debug] 20671#0: *82741 test location: ~ ---
2010/07/24 12:21:02 [debug] 20671#0: *82741 using configuration "/info/"
2010/07/24 12:21:02 [debug] 20671#0: *82741 http cl:-1 max:10485760
2010/07/24 12:21:02 [debug] 20671#0: *82741 rewrite phase: 3
2010/07/24 12:21:02 [debug] 20671#0: *82741 post rewrite phase: 4
2010/07/24 12:21:02 [debug] 20671#0: *82741 generic phase: 5
2010/07/24 12:21:02 [debug] 20671#0: *82741 generic phase: 6
2010/07/24 12:21:02 [debug] 20671#0: *82741 generic phase: 7
2010/07/24 12:21:02 [debug] 20671#0: *82741 access phase: 8
2010/07/24 12:21:02 [debug] 20671#0: *82741 access phase: 9
2010/07/24 12:21:02 [debug] 20671#0: *82741 post access phase: 10
2010/07/24 12:21:02 [debug] 20671#0: *82741 http init upstream, client timer: 0
2010/07/24 12:21:02 [debug] 20671#0: *82741 epoll add event: fd:36 op:3
ev:80000005
2010/07/24 12:21:02 [debug] 20671#0: *82741 posix_memalign:
000000000167ECF0:4096 @16
2010/07/24 12:21:02 [debug] 20671#0: *82741 http script copy: "Host: "
2010/07/24 12:21:02 [debug] 20671#0: *82741 http script var: "front.local"
2010/07/24 12:21:02 [debug] 20671#0: *82741 http script copy: "
2010/07/24 12:21:02 [debug] 20671#0: *82741 http script copy: "User-Agent: "
2010/07/24 12:21:02 [debug] 20671#0: *82741 http script var: "Mozilla/5.0
(Macintosh; U; Intel Mac OS X 10.6; ru; rv:1.9.2.7) Gecko/20100713
Firefox/3.6.7"
2010/07/24 12:21:02 [debug] 20671#0: *82741 http script copy: "
2010/07/24 12:21:02 [debug] 20671#0: *82741 http script copy: "Connection: close
2010/07/24 12:21:02 [debug] 20671#0: *82741 http proxy header: "Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
2010/07/24 12:21:02 [debug] 20671#0: *82741 http proxy header:
"Accept-Language: ru,en-us;q=0.7,en;q=0.3"
2010/07/24 12:21:02 [debug] 20671#0: *82741 http proxy header:
"Accept-Encoding: gzip,deflate"
2010/07/24 12:21:02 [debug] 20671#0: *82741 http proxy header: "Accept-Charset:
windows-1251,utf-8;q=0.7,*;q=0.7"
2010/07/24 12:21:02 [debug] 20671#0: *82741 http proxy header:
2010/07/24 12:21:02 [debug] 20671#0: *82741 http cleanup add: 000000000167EF08
2010/07/24 12:21:02 [debug] 20671#0: *82741 get rr peer, try: 1
2010/07/24 12:21:02 [debug] 20671#0: *82741 socket 38
2010/07/24 12:21:02 [debug] 20671#0: *82741 epoll add connection: fd:38
ev:80000005
2010/07/24 12:21:02 [debug] 20671#0: *82741 connect to 192.168.101.128:80,
fd:38 #82742
2010/07/24 12:21:02 [debug] 20671#0: *82741 http upstream connect: -2
2010/07/24 12:21:02 [debug] 20671#0: *82741 event timer add: 38:
15000:1279959677383
2010/07/24 12:21:02 [debug] 20671#0: *82741 http finalize request: -4,
"/info/0c2e49879f9f.jpg?" a:1, c:2
2010/07/24 12:21:02 [debug] 20671#0: *82741 http request count:2 blk:0
2010/07/24 12:21:02 [debug] 20671#0: *82741 post event 00007FB711A345C0
2010/07/24 12:21:02 [debug] 20671#0: *82741 post event 00007FB711A347C8
2010/07/24 12:21:02 [debug] 20671#0: *82741 delete posted event 00007FB711A347C8
2010/07/24 12:21:02 [debug] 20671#0: *82741 http upstream request:
"/info/0c2e49879f9f.jpg?"
2010/07/24 12:21:02 [debug] 20671#0: *82741 http upstream send request handler
2010/07/24 12:21:02 [debug] 20671#0: *82741 http upstream send request
2010/07/24 12:21:02 [debug] 20671#0: *82741 chain writer buf fl:1 s:403
2010/07/24 12:21:02 [debug] 20671#0: *82741 chain writer in: 000000000167EF40
2010/07/24 12:21:02 [debug] 20671#0: *82741 writev: 403
2010/07/24 12:21:02 [debug] 20671#0: *82741 chain writer out: 0000000000000000
2010/07/24 12:21:02 [debug] 20671#0: *82741 event timer del: 38: 1279959677383
2010/07/24 12:21:02 [debug] 20671#0: *82741 event timer add: 38:
20000:1279959682384
2010/07/24 12:21:02 [debug] 20671#0: *82741 delete posted event 00007FB711A345C0
2010/07/24 12:21:02 [debug] 20671#0: *82741 http run request:
"/info/0c2e49879f9f.jpg?"
2010/07/24 12:21:02 [debug] 20671#0: *82741 http request empty handler
2010/07/24 12:21:02 [debug] 20671#0: *82741 post event 00007FB711BD57C8
2010/07/24 12:21:02 [debug] 20671#0: *82741 post event 00007FB711A347C8
2010/07/24 12:21:02 [debug] 20671#0: *82741 delete posted event 00007FB711A347C8
2010/07/24 12:21:02 [debug] 20671#0: *82741 http upstream request:
"/info/0c2e49879f9f.jpg?"
2010/07/24 12:21:02 [debug] 20671#0: *82741 http upstream dummy handler
2010/07/24 12:21:02 [debug] 20671#0: *82741 delete posted event 00007FB711BD57C8
2010/07/24 12:21:02 [debug] 20671#0: *82741 http upstream request:
"/info/0c2e49879f9f.jpg?"
2010/07/24 12:21:02 [debug] 20671#0: *82741 http upstream process header
2010/07/24 12:21:02 [debug] 20671#0: *82741 malloc: 0000000001651400:32768
2010/07/24 12:21:02 [debug] 20671#0: *82741 recv: fd:38 32768 of 32768
2010/07/24 12:21:02 [debug] 20671#0: *82741 http proxy status 200 "200 OK"
2010/07/24 12:21:02 [debug] 20671#0: *82741 http proxy header: "Server:
nginx/0.8.46"
2010/07/24 12:21:02 [debug] 20671#0: *82741 http proxy header: "Date: Sat, 24
Jul 2010 08:21:02 GMT"
2010/07/24 12:21:02 [debug] 20671#0: *82741 http proxy header: "Content-Type:
image/jpeg"
2010/07/24 12:21:02 [debug] 20671#0: *82741 http proxy header: "Connection:
close"
2010/07/24 12:21:02 [debug] 20671#0: *82741 http proxy header: "Cache-Control:
max-age=31536000"
2010/07/24 12:21:02 [debug] 20671#0: *82741 http proxy header: "Last-Modified:
Thu, 16 Apr 2009 12:11:46 GMT"
2010/07/24 12:21:02 [debug] 20671#0: *82741 http proxy header: "ETag:
"e67531838cbec91:0""
2010/07/24 12:21:02 [debug] 20671#0: *82741 http proxy header: "Content-Length:
3672227"
2010/07/24 12:21:02 [debug] 20671#0: *82741 http proxy header: "Accept-Ranges:
bytes"
2010/07/24 12:21:02 [debug] 20671#0: *82741 http proxy header done
2010/07/24 12:21:02 [error] 20671#0: *82741 image filter: too big response:
3672227 while reading response header from upstream, client: 192.168.100.200,
server: front.local, request: "GET /info/0c2e49879f9f.jpg HTTP/1.1", upstream:
"http://192.168.101.128:80/0c2e49879f9f.jpg", host: "front.local"
2010/07/24 12:21:02 [debug] 20671#0: *82741 finalize http upstream request: -1
2010/07/24 12:21:02 [debug] 20671#0: *82741 finalize http proxy request
2010/07/24 12:21:02 [debug] 20671#0: *82741 free rr peer 1 0
2010/07/24 12:21:02 [debug] 20671#0: *82741 close http upstream connection: 38
2010/07/24 12:21:02 [debug] 20671#0: *82741 event timer del: 38: 1279959682384
2010/07/24 12:21:02 [debug] 20671#0: *82741 http finalize request: -1,
"/info/0c2e49879f9f.jpg?" a:1, c:1
2010/07/24 12:21:02 [debug] 20671#0: *82741 http terminate request count:1
2010/07/24 12:21:02 [debug] 20671#0: *82741 http terminate cleanup count:1 blk:0
2010/07/24 12:21:02 [debug] 20671#0: *82741 http posted request:
"/info/0c2e49879f9f.jpg?"
2010/07/24 12:21:02 [debug] 20671#0: *82741 http terminate handler count:1
2010/07/24 12:21:02 [debug] 20671#0: *82741 http request count:1 blk:0
2010/07/24 12:21:02 [debug] 20671#0: *82741 http close request
2010/07/24 12:21:02 [debug] 20671#0: *82741 http log handler
2010/07/24 12:21:02 [debug] 20671#0: *82741 free: 0000000001651400
2010/07/24 12:21:02 [debug] 20671#0: *82741 free: 00000000016DA6D0, unused: 0
2010/07/24 12:21:02 [debug] 20671#0: *82741 free: 000000000167ECF0, unused: 2106
2010/07/24 12:21:02 [debug] 20671#0: *82741 close http connection: 36
2010/07/24 12:21:02 [debug] 20671#0: *82741 free: 00000000016D5140
2010/07/24 12:21:02 [debug] 20671#0: *82741 free: 00000000016D3F00
2010/07/24 12:21:02 [debug] 20671#0: *82741 free: 000000000168B6F0, unused: 8
2010/07/24 12:21:02 [debug] 20671#0: *82741 free: 00000000016D67D0, unused: 128
24.07.2010, в 12:53, Alexander Azarov написал(а):
> Добрый день!
>
> При возникновении ошибки
>
> 2010/07/24 10:43:40 [error] 14214#0: *309 image filter: too big response:
> 3672227 while reading response header from upstream, client: ....
>
> Nginx обрывает соединение. Хочется получать 415.
>
> С уважением,
> Александр Азаров
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
|