Skip to content

Instantly share code, notes, and snippets.

@p0pr0ck5
Created March 23, 2017 16:46
Show Gist options
  • Save p0pr0ck5/21ce7fe7d361b9057504ea773707430a to your computer and use it in GitHub Desktop.
Save p0pr0ck5/21ce7fe7d361b9057504ea773707430a to your computer and use it in GitHub Desktop.
2017/03/23 09:46:16 [debug] 32392#0: malloc: 00007F71909F8A70:6144
2017/03/23 09:46:16 [debug] 32392#0: malloc: 00007F7190A31910:237568
2017/03/23 09:46:16 [debug] 32392#0: malloc: 00007F7190A6B920:98304
2017/03/23 09:46:16 [debug] 32392#0: malloc: 00007F7190A83930:98304
2017/03/23 09:46:16 [debug] 32392#0: epoll add event: fd:5 op:1 ev:00002001
2017/03/23 09:46:16 [debug] 32392#0: epoll add event: fd:6 op:1 ev:00002001
2017/03/23 09:46:16 [debug] 32392#0: epoll add event: fd:7 op:1 ev:00002001
2017/03/23 09:46:16 [debug] 32392#0: setproctitle: "nginx: worker process"
2017/03/23 09:46:16 [debug] 32392#0: worker cycle
2017/03/23 09:46:16 [debug] 32392#0: epoll timer: -1
2017/03/23 09:46:17 [debug] 32392#0: epoll: fd:5 ev:0001 d:00007F7190A31910
2017/03/23 09:46:17 [debug] 32392#0: accept on 127.0.0.1:12345, ready: 0
2017/03/23 09:46:17 [debug] 32392#0: posix_memalign: 00007F71909FA280:512 @16
2017/03/23 09:46:17 [debug] 32392#0: *1 accept: 127.0.0.1:54703 fd:3
2017/03/23 09:46:17 [debug] 32392#0: *1 event timer add: 3: 60000:1490287637594
2017/03/23 09:46:17 [debug] 32392#0: *1 reusable connection: 1
2017/03/23 09:46:17 [debug] 32392#0: *1 epoll add event: fd:3 op:1 ev:80002001
2017/03/23 09:46:17 [debug] 32392#0: timer delta: 1156
2017/03/23 09:46:17 [debug] 32392#0: worker cycle
2017/03/23 09:46:17 [debug] 32392#0: epoll timer: 60000
2017/03/23 09:46:17 [debug] 32392#0: epoll: fd:3 ev:0001 d:00007F7190A31BC8
2017/03/23 09:46:17 [debug] 32392#0: *1 http wait request handler
2017/03/23 09:46:17 [debug] 32392#0: *1 malloc: 00007F71909FA490:1024
2017/03/23 09:46:17 [debug] 32392#0: *1 recv: eof:0, avail:1
2017/03/23 09:46:17 [debug] 32392#0: *1 recv: fd:3 82 of 1024
2017/03/23 09:46:17 [debug] 32392#0: *1 reusable connection: 0
2017/03/23 09:46:17 [debug] 32392#0: *1 posix_memalign: 00007F71909FA8A0:4096 @16
2017/03/23 09:46:17 [debug] 32392#0: *1 http process request line
2017/03/23 09:46:17 [debug] 32392#0: *1 http request line: "GET /foo HTTP/1.1"
2017/03/23 09:46:17 [debug] 32392#0: *1 http uri: "/foo"
2017/03/23 09:46:17 [debug] 32392#0: *1 http args: ""
2017/03/23 09:46:17 [debug] 32392#0: *1 http exten: ""
2017/03/23 09:46:17 [debug] 32392#0: *1 http process request header line
2017/03/23 09:46:17 [debug] 32392#0: *1 http header: "User-Agent: curl/7.35.0"
2017/03/23 09:46:17 [debug] 32392#0: *1 http header: "Host: localhost:12345"
2017/03/23 09:46:17 [debug] 32392#0: *1 http header: "Accept: */*"
2017/03/23 09:46:17 [debug] 32392#0: *1 http header done
2017/03/23 09:46:17 [debug] 32392#0: *1 event timer del: 3: 1490287637594
2017/03/23 09:46:17 [debug] 32392#0: *1 generic phase: 0
2017/03/23 09:46:17 [debug] 32392#0: *1 rewrite phase: 1
2017/03/23 09:46:17 [debug] 32392#0: *1 rewrite phase: 2
2017/03/23 09:46:17 [debug] 32392#0: *1 test location: "/foo"
2017/03/23 09:46:17 [debug] 32392#0: *1 using configuration "/foo"
2017/03/23 09:46:17 [debug] 32392#0: *1 http cl:-1 max:1048576
2017/03/23 09:46:17 [debug] 32392#0: *1 rewrite phase: 4
2017/03/23 09:46:17 [debug] 32392#0: *1 rewrite phase: 5
2017/03/23 09:46:17 [debug] 32392#0: *1 post rewrite phase: 6
2017/03/23 09:46:17 [debug] 32392#0: *1 generic phase: 7
2017/03/23 09:46:17 [debug] 32392#0: *1 generic phase: 8
2017/03/23 09:46:17 [debug] 32392#0: *1 generic phase: 9
2017/03/23 09:46:17 [debug] 32392#0: *1 access phase: 10
2017/03/23 09:46:17 [debug] 32392#0: *1 lua access handler, uri:"/foo" c:1
2017/03/23 09:46:17 [debug] 32392#0: *1 access phase: 10
2017/03/23 09:46:17 [debug] 32392#0: *1 access phase: 11
2017/03/23 09:46:17 [debug] 32392#0: *1 access phase: 12
2017/03/23 09:46:17 [debug] 32392#0: *1 lua access handler, uri:"/foo" c:1
2017/03/23 09:46:17 [debug] 32392#0: *1 posix_memalign: 00007F7190A27140:4096 @16
2017/03/23 09:46:17 [debug] 32392#0: *1 lua creating new thread
2017/03/23 09:46:17 [debug] 32392#0: *1 lua reset ctx
2017/03/23 09:46:17 [debug] 32392#0: *1 http cleanup add: 00007F71909FB7F8
2017/03/23 09:46:17 [debug] 32392#0: *1 lua run thread, top:0 c:1
2017/03/23 09:46:17 [debug] 32392#0: *1 lua redirect to "/bar" with code 301
2017/03/23 09:46:17 [debug] 32392#0: *1 lua resume returned 1
2017/03/23 09:46:17 [debug] 32392#0: *1 lua thread yielded
2017/03/23 09:46:17 [debug] 32392#0: *1 lua thread aborting request with status 301
2017/03/23 09:46:17 [debug] 32392#0: *1 lua request cleanup: forcible=0
2017/03/23 09:46:17 [debug] 32392#0: *1 http finalize request: 301, "/foo?" a:1, c:1
2017/03/23 09:46:17 [debug] 32392#0: *1 http special response: 301, "/foo?"
2017/03/23 09:46:17 [debug] 32392#0: *1 internal redirect: "/handler?"
2017/03/23 09:46:17 [debug] 32392#0: *1 rewrite phase: 1
2017/03/23 09:46:17 [debug] 32392#0: *1 rewrite phase: 2
2017/03/23 09:46:17 [debug] 32392#0: *1 test location: "/foo"
2017/03/23 09:46:17 [debug] 32392#0: *1 test location: "/handler"
2017/03/23 09:46:17 [debug] 32392#0: *1 using configuration "/handler"
2017/03/23 09:46:17 [debug] 32392#0: *1 http cl:-1 max:1048576
2017/03/23 09:46:17 [debug] 32392#0: *1 rewrite phase: 4
2017/03/23 09:46:17 [debug] 32392#0: *1 rewrite phase: 5
2017/03/23 09:46:17 [debug] 32392#0: *1 post rewrite phase: 6
2017/03/23 09:46:17 [debug] 32392#0: *1 generic phase: 7
2017/03/23 09:46:17 [debug] 32392#0: *1 generic phase: 8
2017/03/23 09:46:17 [debug] 32392#0: *1 generic phase: 9
2017/03/23 09:46:17 [debug] 32392#0: *1 access phase: 10
2017/03/23 09:46:17 [debug] 32392#0: *1 access phase: 11
2017/03/23 09:46:17 [debug] 32392#0: *1 access phase: 12
2017/03/23 09:46:17 [debug] 32392#0: *1 lua access handler, uri:"/handler" c:2
2017/03/23 09:46:17 [debug] 32392#0: *1 post access phase: 13
2017/03/23 09:46:17 [debug] 32392#0: *1 lua content handler, uri:"/handler" c:2
2017/03/23 09:46:17 [debug] 32392#0: *1 lua reset ctx
2017/03/23 09:46:17 [debug] 32392#0: *1 lua creating new thread
2017/03/23 09:46:17 [debug] 32392#0: *1 http cleanup add: 00007F71909FB818
2017/03/23 09:46:17 [debug] 32392#0: *1 lua run thread, top:0 c:2
2017/03/23 09:46:17 [debug] 32392#0: *1 lua exit with code 0
2017/03/23 09:46:17 [debug] 32392#0: *1 lua resume returned 1
2017/03/23 09:46:17 [debug] 32392#0: *1 lua thread yielded
2017/03/23 09:46:17 [debug] 32392#0: *1 lua thread aborting request with status 0
2017/03/23 09:46:17 [debug] 32392#0: *1 lua request cleanup: forcible=0
2017/03/23 09:46:17 [debug] 32392#0: *1 lua header filter for user lua code, uri "/handler"
2017/03/23 09:46:17 [debug] 32392#0: *1 lua capture header filter, uri "/handler"
2017/03/23 09:46:17 [debug] 32392#0: *1 HTTP/1.1 301 Moved Permanently
Server: openresty/1.11.2.2
Date: Thu, 23 Mar 2017 16:46:17 GMT
Content-Type: application/octet-stream
Transfer-Encoding: chunked
Connection: keep-alive
Location: /bar
2017/03/23 09:46:17 [debug] 32392#0: *1 write new buf t:1 f:0 00007F7190A27490, pos 00007F7190A27490, size: 207 file: 0, size: 0
2017/03/23 09:46:17 [debug] 32392#0: *1 http write filter: l:0 f:0 s:207
2017/03/23 09:46:17 [debug] 32392#0: *1 http set discard body
2017/03/23 09:46:17 [debug] 32392#0: *1 lua sending last buf of the response body
2017/03/23 09:46:17 [debug] 32392#0: *1 http output filter "/handler?"
2017/03/23 09:46:17 [debug] 32392#0: *1 http copy filter: "/handler?"
2017/03/23 09:46:17 [debug] 32392#0: *1 lua body filter for user lua code, uri "/handler"
2017/03/23 09:46:17 [debug] 32392#0: *1 lua capture body filter, uri "/handler"
2017/03/23 09:46:17 [debug] 32392#0: *1 http postpone filter "/handler?" 00007FFF5B7B2CD0
2017/03/23 09:46:17 [debug] 32392#0: *1 http chunk: 0
2017/03/23 09:46:17 [debug] 32392#0: *1 write old buf t:1 f:0 00007F7190A27490, pos 00007F7190A27490, size: 207 file: 0, size: 0
2017/03/23 09:46:17 [debug] 32392#0: *1 write new buf t:0 f:0 0000000000000000, pos 0000000000553D7B, size: 5 file: 0, size: 0
2017/03/23 09:46:17 [debug] 32392#0: *1 http write filter: l:1 f:0 s:212
2017/03/23 09:46:17 [debug] 32392#0: *1 http write filter limit 0
2017/03/23 09:46:17 [debug] 32392#0: *1 writev: 212 of 212
2017/03/23 09:46:17 [debug] 32392#0: *1 http write filter 0000000000000000
2017/03/23 09:46:17 [debug] 32392#0: *1 http copy filter: 0 "/handler?"
2017/03/23 09:46:17 [debug] 32392#0: *1 http finalize request: 0, "/handler?" a:1, c:2
2017/03/23 09:46:17 [debug] 32392#0: *1 http request count:2 blk:0
2017/03/23 09:46:17 [debug] 32392#0: *1 http finalize request: -4, "/handler?" a:1, c:1
2017/03/23 09:46:17 [debug] 32392#0: *1 set http keepalive handler
2017/03/23 09:46:17 [debug] 32392#0: *1 http close request
2017/03/23 09:46:17 [debug] 32392#0: *1 lua log handler, uri:"/handler" c:1
2017/03/23 09:46:17 [debug] 32392#0: *1 http log handler
2017/03/23 09:46:17 [debug] 32392#0: *1 free: 00007F71909FA8A0, unused: 0
2017/03/23 09:46:17 [debug] 32392#0: *1 free: 00007F7190A27140, unused: 2744
2017/03/23 09:46:17 [debug] 32392#0: *1 free: 00007F71909FA490
2017/03/23 09:46:17 [debug] 32392#0: *1 hc free: 0000000000000000 0
2017/03/23 09:46:17 [debug] 32392#0: *1 hc busy: 0000000000000000 0
2017/03/23 09:46:17 [debug] 32392#0: *1 tcp_nodelay
2017/03/23 09:46:17 [debug] 32392#0: *1 reusable connection: 1
2017/03/23 09:46:17 [debug] 32392#0: *1 event timer add: 3: 65000:1490287642594
2017/03/23 09:46:17 [debug] 32392#0: timer delta: 0
2017/03/23 09:46:17 [debug] 32392#0: worker cycle
2017/03/23 09:46:17 [debug] 32392#0: epoll timer: 65000
2017/03/23 09:46:17 [debug] 32392#0: epoll: fd:3 ev:2001 d:00007F7190A31BC8
2017/03/23 09:46:17 [debug] 32392#0: *1 http keepalive handler
2017/03/23 09:46:17 [debug] 32392#0: *1 malloc: 00007F71909FA490:1024
2017/03/23 09:46:17 [debug] 32392#0: *1 recv: eof:1, avail:1
2017/03/23 09:46:17 [debug] 32392#0: *1 recv: fd:3 0 of 1024
2017/03/23 09:46:17 [info] 32392#0: *1 client 127.0.0.1 closed keepalive connection
2017/03/23 09:46:17 [debug] 32392#0: *1 close http connection: 3
2017/03/23 09:46:17 [debug] 32392#0: *1 event timer del: 3: 1490287642594
2017/03/23 09:46:17 [debug] 32392#0: *1 reusable connection: 0
2017/03/23 09:46:17 [debug] 32392#0: *1 free: 00007F71909FA490
2017/03/23 09:46:17 [debug] 32392#0: *1 free: 00007F71909FA280, unused: 128
2017/03/23 09:46:17 [debug] 32392#0: timer delta: 1
2017/03/23 09:46:17 [debug] 32392#0: worker cycle
2017/03/23 09:46:17 [debug] 32392#0: epoll timer: -1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment