Re: debug points abort, что делать с корками

proforg nginx-forum at nginx.us
Sat Nov 30 21:18:47 UTC 2013


Linux shc 3.6-trunk-amd64 #1 SMP Debian 3.6.8-1~experimental.1 x86_64
GNU/Linux

nginx version: nginx/1.5.7
built by gcc 4.4.5 (Debian 4.4.5-8)
TLS SNI support enabled
configure arguments: --conf-path=/etc/nginx/nginx.conf
--error-log-path=/var/log/nginx/error.log --pid-path=/var/run/nginx.pid
--lock-path=/var/lock/nginx.lock --http-log-path=/var/log/nginx/access.log
--http-client-body-temp-path=/var/lib/nginx/body
--http-proxy-temp-path=/var/lib/nginx/proxy
--http-fastcgi-temp-path=/var/lib/nginx/fastcgi
--http-uwsgi-temp-path=/var/lib/nginx/uwsgi
--http-scgi-temp-path=/var/lib/nginx/scgi --with-debug --with-file-aio
--with-http_stub_status_module --with-http_addition_module
--with-http_random_index_module --with-http_flv_module
--with-http_ssl_module --with-http_dav_module --with-http_realip_module
--with-http_secure_link_module --with-http_xslt_module
--with-http_addition_module --with-http_image_filter_module
--with-http_mp4_module --with-http_spdy_module --with-http_gunzip_module
--add-module=mod_zip --add-module=nginx-upload-progress-module
--with-http_geoip_module --with-http_sub_module
--add-module=ngx_http_substitutions_filter_module


конфиг локейшна:

    location /
    {
        proxy_pass  http://localhost;

        client_body_buffer_size    128k;

        proxy_set_header        Host $host;
        proxy_set_header        X-Real-IP $remote_addr;
        proxy_redirect          off;

        proxy_connect_timeout      90;
        proxy_send_timeout         90;
        proxy_read_timeout         90;

        proxy_buffer_size               4k;
        proxy_buffers              4 32k;
        proxy_busy_buffers_size    64k;
        proxy_temp_file_write_size 64k;
    }

пример debug log по такому запросу:

2013/11/30 16:06:49 [debug] 17787#0: *4925169 http cl:0 max:524288000
2013/11/30 16:06:49 [debug] 17787#0: *4925169 rewrite phase: 3
2013/11/30 16:06:49 [debug] 17787#0: *4925169 upload-progress:
get_tracking_id
2013/11/30 16:06:49 [debug] 17787#0: *4925169 upload-progress:
get_tracking_id no header found
2013/11/30 16:06:49 [debug] 17787#0: *4925169 upload-progress:
get_tracking_id no id found
2013/11/30 16:06:49 [debug] 17787#0: *4925169 trackuploads no id found in
POST upload req
2013/11/30 16:06:49 [debug] 17787#0: *4925169 rewrite phase: 4
2013/11/30 16:06:49 [debug] 17787#0: *4925169 post rewrite phase: 5
2013/11/30 16:06:49 [debug] 17787#0: *4925169 generic phase: 6
2013/11/30 16:06:49 [debug] 17787#0: *4925169 generic phase: 7
2013/11/30 16:06:49 [debug] 17787#0: *4925169 generic phase: 8
2013/11/30 16:06:49 [debug] 17787#0: *4925169 access phase: 9
2013/11/30 16:06:49 [debug] 17787#0: *4925169 access phase: 10
2013/11/30 16:06:49 [debug] 17787#0: *4925169 post access phase: 11
2013/11/30 16:06:49 [debug] 17787#0: *4925169 http client request body
preread 148
2013/11/30 16:06:49 [debug] 17787#0: *4925169 http request body content
length filter
2013/11/30 16:06:49 [debug] 17787#0: *4925169 http body new buf t:1 f:0
0000000000AE16BC, pos 0000000000AE16BC, size: 0 file: 0, size: 0
2013/11/30 16:06:49 [debug] 17787#0: *4925169 http init upstream, client
timer: 0
2013/11/30 16:06:49 [debug] 17787#0: *4925169 http script copy: "Host: "
2013/11/30 16:06:49 [debug] 17787#0: *4925169 http script var:
"www.peeteevee.com"
2013/11/30 16:06:49 [debug] 17787#0: *4925169 http script copy: "
"
2013/11/30 16:06:49 [debug] 17787#0: *4925169 http script copy: "X-Real-IP:
"
2013/11/30 16:06:49 [debug] 17787#0: *4925169 http script var:
"174.228.5.201"
2013/11/30 16:06:49 [debug] 17787#0: *4925169 http script copy: "
"
2013/11/30 16:06:49 [debug] 17787#0: *4925169 http script copy: "Connection:
close
"
2013/11/30 16:06:49 [debug] 17787#0: *4925169 http script copy:
"Content-Length: "
2013/11/30 16:06:49 [debug] 17787#0: *4925169 http script var: "0"
2013/11/30 16:06:49 [debug] 17787#0: *4925169 http script copy: "
"
2013/11/30 16:06:49 [debug] 17787#0: *4925169 http proxy header:
"Accept-Encoding: gzip"
2013/11/30 16:06:49 [debug] 17787#0: *4925169 http proxy header:
"Accept-Language: en-US"
2013/11/30 16:06:49 [debug] 17787#0: *4925169 http proxy header:
"x-wap-profile: http://uaprof.vtext.com/sam/i110/i110.xml"
2013/11/30 16:06:49 [debug] 17787#0: *4925169 http proxy header: "Cookie:
PHPSESSID=5v7800ff2r6a275ff04vegoud2;
__utma=217064471.1861251399.1363650475.1385836523.1385843022.453;
__utmc=217064471;
__utmz=217064471.1385697596.448.203.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=ann42%20peeteevee;
cEMAIL=mailman412%40gmail.com; cEMAILVERIFIED=yes; cUID=12062;
cUSERNAME=ann42; cmyUID=12062"
2013/11/30 16:06:49 [debug] 17787#0: *4925169 http proxy header:
"X-Requested-With: XMLHttpRequest"
2013/11/30 16:06:49 [debug] 17787#0: *4925169 http proxy header:
"Accept-Charset: utf-8, iso-8859-1, utf-16, *;q=0.7"
2013/11/30 16:06:49 [debug] 17787#0: *4925169 http proxy header: "Referer:
http://www.peeteevee.com/video.php"
2013/11/30 16:06:49 [debug] 17787#0: *4925169 http proxy header:
"User-Agent: Mozilla/5.0 (Linux; U; Android 2.3.6; en-us; SCH-S720C
Build/GINGERBREAD) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile
Safari/533.1"
2013/11/30 16:06:49 [debug] 17787#0: *4925169 http proxy header: "Origin:
http://www.peeteevee.com"
2013/11/30 16:06:49 [debug] 17787#0: *4925169 http proxy header: "Accept:
*/*"
2013/11/30 16:06:49 [debug] 17787#0: *4925169 http proxy header:
"POST /is_login_json.php HTTP/1.0
Host: www.peeteevee.com
X-Real-IP: 174.228.5.201
Connection: close
Content-Length: 0
Accept-Encoding: gzip
Accept-Language: en-US
x-wap-profile: http://uaprof.vtext.com/sam/i110/i110.xml
Cookie: PHPSESSID=5v7800ff2r6a275ff04vegoud2;
__utma=217064471.1861251399.1363650475.1385836523.1385843022.453;
__utmc=217064471;
__utmz=217064471.1385697596.448.203.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=ann42%20peeteevee;
cEMAIL=mailman412%40gmail.com; cEMAILVERIFIED=yes; cUID=12062;
cUSERNAME=ann42; cmyUID=12062
X-Requested-With: XMLHttpRequest
Accept-Charset: utf-8, iso-8859-1, utf-16, *;q=0.7
Referer: http://www.peeteevee.com/video.php
User-Agent: Mozilla/5.0 (Linux; U; Android 2.3.6; en-us; SCH-S720C
Build/GINGERBREAD) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile
Safari/533.1
Origin: http://www.peeteevee.com
Accept: */*

"
2013/11/30 16:06:49 [debug] 17787#0: *4925169 posix_memalign:
0000000003FEC8A0:4096 @16
2013/11/30 16:06:49 [debug] 17787#0: *4925169 http cleanup add:
00000000007F9678
2013/11/30 16:06:49 [debug] 17787#0: *4925169 get rr peer, try: 1
2013/11/30 16:06:49 [debug] 17787#0: *4925169 socket 126
2013/11/30 16:06:49 [debug] 17787#0: *4925169 epoll add connection: fd:126
ev:80002005
2013/11/30 16:06:49 [debug] 17787#0: *4925169 connect to 127.0.0.1:80,
fd:126 #4925461
2013/11/30 16:06:49 [debug] 17787#0: *4925169 http upstream connect: -2
2013/11/30 16:06:49 [debug] 17787#0: *4925169 posix_memalign:
0000000004020760:128 @16
2013/11/30 16:06:49 [debug] 17787#0: *4925169 event timer add: 126:
90000:1385845699332
2013/11/30 16:06:49 [debug] 17787#0: *4925169 http finalize request: -4,
"/is_login_json.php?" a:1, c:2
2013/11/30 16:06:49 [debug] 17787#0: *4925169 http request count:2 blk:0
2013/11/30 16:06:49 [debug] 17787#0: *4925169 post event 00007FB96CE68808
2013/11/30 16:06:49 [debug] 17787#0: *4925169 delete posted event
00007FB96CE68808
2013/11/30 16:06:49 [debug] 17787#0: *4925169 http upstream request:
"/is_login_json.php?"
2013/11/30 16:06:49 [debug] 17787#0: *4925169 http upstream send request
handler
2013/11/30 16:06:49 [debug] 17787#0: *4925169 http upstream send request
2013/11/30 16:06:49 [alert] 17787#0: *4925169 zero size buf in output t:1
r:0 f:0 0000000000AE16BC 0000000000AE16BC-0000000000AE16BC 0000000000000000
0-0 while sending request to upstream, client: 174.228.5.201, server:
peeteevee.com, request: "POST /is_login_json.php HTTP/1.1", upstream:
"http://127.0.0.1:80/is_login_json.php", host: "www.peeteevee.com",
referrer: "http://www.peeteevee.com/video.php"

Posted at Nginx Forum: http://forum.nginx.org/read.php?21,245091,245104#msg-245104



Подробная информация о списке рассылки nginx-ru