debug log

$ [debug] 90753#0: add cleanup: 00007FB6340092C0
$ [debug] 90753#0: malloc: 00007FB633E00150:8
$ [debug] 90753#0: malloc: 00007FB635005400:16384
$ [debug] 90753#0: malloc: 00007FB635009400:16384
$ [debug] 90753#0: malloc: 000000010DEF4000:229376
$ [debug] 90753#0: malloc: 00007FB63500D400:106496
$ [debug] 90753#0: malloc: 00007FB635027400:106496
$ [debug] 90753#0: kevent set event: 6: ft:-1 fl:0005
$ [debug] 90753#0: worker cycle
$ [debug] 90753#0: kevent timer: -1, changes: 1





// 访问 http://localhost/index.html?a=12&b





$ [debug] 90753#0: kevent events: 1
$ [debug] 90753#0: kevent: 6: ft:-1 fl:0005 ff:00000000 d:2 ud:00007FB63500D400
$ [debug] 90753#0: accept on 0.0.0.0:80, ready: 2
$ [debug] 90753#0: posix_memalign: 00007FB633D00E10:512 @16
$ [debug] 90753#0: *1 accept: 127.0.0.1:54110 fd:7
$ [debug] 90753#0: *1 event timer add: 7: 60000:1545014018426
$ [debug] 90753#0: *1 reusable connection: 1
$ [debug] 90753#0: *1 kevent set event: 7: ft:-1 fl:0025
$ [debug] 90753#0: posix_memalign: 00007FB633C02FA0:512 @16
$ [debug] 90753#0: *2 accept: 127.0.0.1:54111 fd:8
$ [debug] 90753#0: *2 event timer add: 8: 60000:1545014018426
$ [debug] 90753#0: *2 reusable connection: 1
$ [debug] 90753#0: *2 kevent set event: 8: ft:-1 fl:0025
$ [debug] 90753#0: timer delta: 47337
$ [debug] 90753#0: worker cycle
$ [debug] 90753#0: kevent timer: 60000, changes: 2
$ [debug] 90753#0: kevent events: 1
$ [debug] 90753#0: kevent: 7: ft:-1 fl:0025 ff:00000000 d:586 ud:00007FB63500D468
$ [debug] 90753#0: *1 http wait request handler
$ [debug] 90753#0: *1 malloc: 00007FB635000000:1024
$ [debug] 90753#0: *1 recv: eof:0, avail:586, err:0
$ [debug] 90753#0: *1 recv: fd:7 586 of 1024
$ [debug] 90753#0: *1 reusable connection: 0
$ [debug] 90753#0: *1 posix_memalign: 00007FB635041400:4096 @16
$ [debug] 90753#0: *1 http process request line
$ [debug] 90753#0: *1 http request line: "GET /index.html?a=12&b HTTP/1.1"
$ [debug] 90753#0: *1 http uri: "/index.html"
$ [debug] 90753#0: *1 http args: "a=12&b"
$ [debug] 90753#0: *1 http exten: "html"
$ [debug] 90753#0: *1 http process request header line
$ [debug] 90753#0: *1 http header: "Host: localhost"
$ [debug] 90753#0: *1 http header: "Connection: keep-alive"
$ [debug] 90753#0: *1 http header: "Cache-Control: max-age=0"
$ [debug] 90753#0: *1 http header: "Upgrade-Insecure-Requests: 1"
$ [debug] 90753#0: *1 http header: "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36"
$ [debug] 90753#0: *1 http header: "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8"
$ [debug] 90753#0: *1 http header: "Accept-Encoding: gzip, deflate, br"
$ [debug] 90753#0: *1 http header: "Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,zh-TW;q=0.7"
$ [debug] 90753#0: *1 http header: "Cookie: PHPSESSID=1357d69e4f8b33192374c71d24e3e991"
$ [debug] 90753#0: *1 http header: "If-None-Match: W/"5bc6ea06-264""
$ [debug] 90753#0: *1 http header: "If-Modified-Since: Wed, 17 Oct 2018 07:51:34 GMT"
$ [debug] 90753#0: *1 http header done
$ [debug] 90753#0: *1 event timer del: 7: 1545014018426
$ [debug] 90753#0: *1 rewrite phase: 0
$ [debug] 90753#0: *1 test location: "/"
$ [debug] 90753#0: *1 test location: "50x.html"
$ [debug] 90753#0: *1 using configuration "/"
$ [debug] 90753#0: *1 http cl:-1 max:1048576
$ [debug] 90753#0: *1 rewrite phase: 2
$ [debug] 90753#0: *1 post rewrite phase: 3
$ [debug] 90753#0: *1 generic phase: 4
$ [debug] 90753#0: *1 generic phase: 5
$ [debug] 90753#0: *1 access phase: 6
$ [debug] 90753#0: *1 access phase: 7
$ [debug] 90753#0: *1 post access phase: 8
$ [debug] 90753#0: *1 content phase: 9
$ [debug] 90753#0: *1 content phase: 10
$ [debug] 90753#0: *1 content phase: 11
$ [debug] 90753#0: *1 http filename: "/usr/local/nginx/html/index.html"
$ [debug] 90753#0: *1 add cleanup: 00007FB635042398
$ [debug] 90753#0: *1 http static fd: 9
$ [debug] 90753#0: *1 http set discard body
$ [debug] 90753#0: *1 posix_memalign: 00007FB635800400:4096 @16
$ [debug] 90753#0: *1 http ims:1539762694 lm:1539762694
$ [debug] 90753#0: *1 http im:"W/"5bc6ea06-264"" etag:"5bc6ea06-264"
$ [debug] 90753#0: *1 HTTP/1.1 304 Not Modified
Server: nginx/1.12.2
Date: Mon, 17 Dec 2018 02:32:38 GMT
Last-Modified: Wed, 17 Oct 2018 07:51:34 GMT
Connection: keep-alive
ETag: "5bc6ea06-264"

$ [debug] 90753#0: *1 write new buf t:1 f:0 00007FB635800588, pos 00007FB635800588, size: 180 file: 0, size: 0
$ [debug] 90753#0: *1 http write filter: l:1 f:0 s:180
$ [debug] 90753#0: *1 http write filter limit 0
$ [debug] 90753#0: *1 writev: 180 of 180
$ [debug] 90753#0: *1 http write filter 0000000000000000
$ [debug] 90753#0: *1 http finalize request: 0, "/index.html?a=12&b" a:1, c:1
$ [debug] 90753#0: *1 set http keepalive handler
$ [debug] 90753#0: *1 http close request
$ [debug] 90753#0: *1 http log handler
$ [debug] 90753#0: *1 run cleanup: 00007FB635042398
$ [debug] 90753#0: *1 file cleanup: fd:9
$ [debug] 90753#0: *1 free: 00007FB635041400, unused: 13
$ [debug] 90753#0: *1 free: 00007FB635800400, unused: 3258
$ [debug] 90753#0: *1 free: 00007FB635000000
$ [debug] 90753#0: *1 hc free: 0000000000000000
$ [debug] 90753#0: *1 hc busy: 0000000000000000 0
$ [debug] 90753#0: *1 tcp_nodelay
$ [debug] 90753#0: *1 reusable connection: 1
$ [debug] 90753#0: *1 event timer add: 7: 65000:1545014023428
$ [debug] 90753#0: timer delta: 2
$ [debug] 90753#0: worker cycle
$ [debug] 90753#0: kevent timer: 59998, changes: 0
$ [debug] 90753#0: kevent events: 1
$ [debug] 90753#0: kevent: 8: ft:-1 fl:8025 ff:00000000 d:0 ud:00007FB63500D4D0
$ [debug] 90753#0: *2 http wait request handler
$ [debug] 90753#0: *2 malloc: 00007FB634000000:1024
$ [debug] 90753#0: *2 recv: eof:1, avail:0, err:0
$ [info] 90753#0: *2 client closed connection while waiting for request, client: 127.0.0.1, server: 0.0.0.0:80
$ [debug] 90753#0: *2 close http connection: 8
$ [debug] 90753#0: *2 event timer del: 8: 1545014018426
$ [debug] 90753#0: *2 reusable connection: 0
$ [debug] 90753#0: *2 free: 00007FB634000000
$ [debug] 90753#0: *2 free: 00007FB633C02FA0, unused: 152
$ [debug] 90753#0: timer delta: 10904
$ [debug] 90753#0: worker cycle
$ [debug] 90753#0: kevent timer: 54096, changes: 0
$ [debug] 90753#0: kevent events: 0
$ [debug] 90753#0: timer delta: 54105
$ [debug] 90753#0: *1 event timer del: 7: 1545014023428
$ [debug] 90753#0: *1 http keepalive handler
$ [debug] 90753#0: *1 close http connection: 7
$ [debug] 90753#0: *1 reusable connection: 0
$ [debug] 90753#0: *1 free: 0000000000000000
$ [debug] 90753#0: *1 free: 00007FB633D00E10, unused: 152
$ [debug] 90753#0: worker cycle
$ [debug] 90753#0: kevent timer: -1, changes: 0

你可能感兴趣的:(debug log)