Advertisement
Guest User

Nginx_Debug_Log

a guest
Jan 12th, 2015
330
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Nginx 12.13 KB | None | 0 0
  1. 2015/01/12 06:05:30 [debug] 26192#0: *2 http header: "Host: www.example.com"
  2. 2015/01/12 06:05:30 [debug] 26192#0: *2 http header: "Connection: keep-alive"
  3. 2015/01/12 06:05:30 [debug] 26192#0: *2 http header: "Cache-Control: max-age=0"
  4. 2015/01/12 06:05:30 [debug] 26192#0: *2 http header: "Authorization: Basic authstring=="
  5. 2015/01/12 06:05:30 [debug] 26192#0: *2 http header: "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"
  6. 2015/01/12 06:05:30 [debug] 26192#0: *2 http header: "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36"
  7. 2015/01/12 06:05:30 [debug] 26192#0: *2 http header: "Accept-Encoding: gzip, deflate, sdch"
  8. 2015/01/12 06:05:30 [debug] 26192#0: *2 http header: "Accept-Language: en,en-US;q=0.8"
  9. 2015/01/12 06:05:30 [debug] 26192#0: *2 http header done
  10. 2015/01/12 06:05:30 [debug] 26192#0: *2 event timer del: 17: 1421043330801
  11. 2015/01/12 06:05:30 [debug] 26192#0: *2 rewrite phase: 0
  12. 2015/01/12 06:05:30 [debug] 26192#0: *2 test location: "/"
  13. 2015/01/12 06:05:30 [debug] 26192#0: *2 test location: "error_docs/"
  14. 2015/01/12 06:05:30 [debug] 26192#0: *2 test location: "robots.txt"
  15. 2015/01/12 06:05:30 [debug] 26192#0: *2 test location: ~ "(?:^/perldir/main\.pl)(?:.*)$"
  16. 2015/01/12 06:05:30 [debug] 26192#0: *2 test location: ~ "(?:^/test/testfile\.pl)(?:.*)$"
  17. 2015/01/12 06:05:30 [debug] 26192#0: *2 using configuration "(?:^/test/testfile\.pl)(?:.*)$"
  18. 2015/01/12 06:05:30 [debug] 26192#0: *2 http cl:-1 max:10485760
  19. 2015/01/12 06:05:30 [debug] 26192#0: *2 rewrite phase: 2
  20. 2015/01/12 06:05:30 [debug] 26192#0: *2 lua rewrite handler, uri:"/test/testfile.pl" c:1
  21. 2015/01/12 06:05:30 [debug] 26192#0: *2 rewrite phase: 2
  22. 2015/01/12 06:05:30 [debug] 26192#0: *2 rewrite phase: 3
  23. 2015/01/12 06:05:30 [debug] 26192#0: *2 lua rewrite handler, uri:"/test/testfile.pl" c:1
  24. 2015/01/12 06:05:30 [debug] 26192#0: *2 post rewrite phase: 4
  25. 2015/01/12 06:05:30 [debug] 26192#0: *2 access phase: 5
  26. 2015/01/12 06:05:30 [debug] 26192#0: *2 lua access handler, uri:"/test/testfile.pl" c:1
  27. 2015/01/12 06:05:30 [debug] 26192#0: *2 access phase: 5
  28. 2015/01/12 06:05:30 [debug] 26192#0: *2 access phase: 6
  29. 2015/01/12 06:05:30 [debug] 26192#0: *2 read: 19, 00007FFF40A87220, 2048, 0
  30. 2015/01/12 06:05:30 [debug] 26192#0: *2 rc: 0 user: "UserName" salt: "SaltValue"
  31. 2015/01/12 06:05:30 [debug] 26192#0: *2 access phase: 7
  32. 2015/01/12 06:05:30 [debug] 26192#0: *2 access phase: 8
  33. 2015/01/12 06:05:30 [debug] 26192#0: *2 lua access handler, uri:"/test/testfile.pl" c:1
  34. 2015/01/12 06:05:30 [debug] 26192#0: *2 lua creating new thread
  35. 2015/01/12 06:05:30 [debug] 26192#0: *2 lua reset ctx
  36. 2015/01/12 06:05:30 [debug] 26192#0: *2 http cleanup add: 00000000016519F0
  37. 2015/01/12 06:05:30 [debug] 26192#0: *2 lua run thread, top:0 c:1
  38. 2015/01/12 06:05:30 [debug] 26192#0: *2 lua exec "@perlhandler?"
  39. 2015/01/12 06:05:30 [debug] 26192#0: *2 lua resume returned 1
  40. 2015/01/12 06:05:30 [debug] 26192#0: *2 lua thread yielded
  41. 2015/01/12 06:05:30 [debug] 26192#0: *2 lua thread initiated internal redirect to @perlhandler
  42. 2015/01/12 06:05:30 [debug] 26192#0: *2 lua request cleanup: forcible=1
  43. 2015/01/12 06:05:30 [debug] 26192#0: *2 test location: "@perlhandler"
  44. 2015/01/12 06:05:30 [debug] 26192#0: *2 using location: @perlhandler "/test/testfile.pl?"
  45. 2015/01/12 06:05:30 [debug] 26192#0: *2 rewrite phase: 2
  46. 2015/01/12 06:05:30 [debug] 26192#0: *2 http script var
  47. 2015/01/12 06:05:30 [debug] 26192#0: *2 http geo started: 255.255.255.255
  48. 2015/01/12 06:05:30 [debug] 26192#0: *2 http geo: 0
  49. 2015/01/12 06:05:30 [debug] 26192#0: *2 http script var: "0"
  50. 2015/01/12 06:05:30 [debug] 26192#0: *2 http script value: "1"
  51. 2015/01/12 06:05:30 [debug] 26192#0: *2 http script equal
  52. 2015/01/12 06:05:30 [debug] 26192#0: *2 http script equal: no
  53. 2015/01/12 06:05:30 [debug] 26192#0: *2 http script if
  54. 2015/01/12 06:05:30 [debug] 26192#0: *2 http script if: false
  55. 2015/01/12 06:05:30 [debug] 26192#0: *2 rewrite phase: 3
  56. 2015/01/12 06:05:30 [debug] 26192#0: *2 lua rewrite handler, uri:"/test/testfile.pl" c:2
  57. 2015/01/12 06:05:30 [debug] 26192#0: *2 post rewrite phase: 4
  58. 2015/01/12 06:05:30 [debug] 26192#0: *2 access phase: 5
  59. 2015/01/12 06:05:30 [debug] 26192#0: *2 access phase: 6
  60. 2015/01/12 06:05:30 [debug] 26192#0: *2 access phase: 7
  61. 2015/01/12 06:05:30 [debug] 26192#0: *2 access phase: 8
  62. 2015/01/12 06:05:30 [debug] 26192#0: *2 lua access handler, uri:"/test/testfile.pl" c:2
  63. 2015/01/12 06:05:30 [debug] 26192#0: *2 post access phase: 9
  64. 2015/01/12 06:05:30 [debug] 26192#0: *2 try files phase: 10
  65. 2015/01/12 06:05:30 [debug] 26192#0: *2 http init upstream, client timer: 0
  66. 2015/01/12 06:05:30 [debug] 26192#0: *2 epoll add event: fd:17 op:3 ev:80002005
  67. 2015/01/12 06:05:30 [debug] 26192#0: *2 http script var: "http"
  68. 2015/01/12 06:05:30 [debug] 26192#0: *2 http script copy: "://"
  69. 2015/01/12 06:05:30 [debug] 26192#0: *2 http script var: "www.example.com"
  70. 2015/01/12 06:05:30 [debug] 26192#0: *2 http script var: "/test/testfile.pl"
  71. 2015/01/12 06:05:30 [debug] 26192#0: *2 http script var: ""
  72. 2015/01/12 06:05:30 [debug] 26192#0: *2 http cache key: "http://www.example.com/test/testfile.pl"
  73. 2015/01/12 06:05:30 [debug] 26192#0: *2 add cleanup: 00000000016526F0
  74. 2015/01/12 06:05:30 [debug] 26192#0: *2 http file cache exists: -5 e:0
  75. 2015/01/12 06:05:30 [debug] 26192#0: *2 cache file: "/var/nginx/cache/example.com/4/e2/3c85fc37eb01cae25aab353ac8383e24"
  76. 2015/01/12 06:05:30 [debug] 26192#0: *2 add cleanup: 0000000001652758
  77. 2015/01/12 06:05:30 [debug] 26192#0: *2 http upstream cache: -5
  78. 2015/01/12 06:05:30 [debug] 26192#0: *2 http script copy: "Host: "
  79. 2015/01/12 06:05:30 [debug] 26192#0: *2 http script var: "www.example.com"
  80. 2015/01/12 06:05:30 [debug] 26192#0: *2 http script copy: "
  81. "
  82. 2015/01/12 06:05:30 [debug] 26192#0: *2 http script copy: "X-Real-IP: "
  83. 2015/01/12 06:05:30 [debug] 26192#0: *2 http script var: "255.255.255.255"
  84. 2015/01/12 06:05:30 [debug] 26192#0: *2 http script copy: "
  85. "
  86. 2015/01/12 06:05:30 [debug] 26192#0: *2 http script copy: "X-Forwarded-For: "
  87. 2015/01/12 06:05:30 [debug] 26192#0: *2 http script var: "255.255.255.255"
  88. 2015/01/12 06:05:30 [debug] 26192#0: *2 http script copy: "
  89. "
  90. 2015/01/12 06:05:30 [debug] 26192#0: *2 http script copy: "X-Forwarded-Proto: "
  91. 2015/01/12 06:05:30 [debug] 26192#0: *2 http script var: "http"
  92. 2015/01/12 06:05:30 [debug] 26192#0: *2 http script copy: "
  93. "
  94. 2015/01/12 06:05:30 [debug] 26192#0: *2 http script copy: ""
  95. 2015/01/12 06:05:30 [debug] 26192#0: *2 http script copy: ""
  96. 2015/01/12 06:05:30 [debug] 26192#0: *2 http script copy: ""
  97. 2015/01/12 06:05:30 [debug] 26192#0: *2 http script copy: ""
  98. 2015/01/12 06:05:30 [debug] 26192#0: *2 http script copy: ""
  99. 2015/01/12 06:05:30 [debug] 26192#0: *2 http script copy: ""
  100. 2015/01/12 06:05:30 [debug] 26192#0: *2 http script copy: "Connection: close
  101. "
  102. 2015/01/12 06:05:30 [debug] 26192#0: *2 http script copy: ""
  103. 2015/01/12 06:05:30 [debug] 26192#0: *2 http script copy: ""
  104. 2015/01/12 06:05:30 [debug] 26192#0: *2 http proxy header: "Cache-Control: max-age=0"
  105. 2015/01/12 06:05:30 [debug] 26192#0: *2 http proxy header: "Authorization: Basic authstring=="
  106. 2015/01/12 06:05:30 [debug] 26192#0: *2 http proxy header: "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"
  107. 2015/01/12 06:05:30 [debug] 26192#0: *2 http proxy header: "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36"
  108. 2015/01/12 06:05:30 [debug] 26192#0: *2 http proxy header: "Accept-Language: en,en-US;q=0.8"
  109. 2015/01/12 06:05:30 [debug] 26192#0: *2 http proxy header:
  110. "GET /test/testfile.pl HTTP/1.1
  111. Host: www.example.com
  112. X-Real-IP: 255.255.255.255
  113. X-Forwarded-For: 255.255.255.255
  114. X-Forwarded-Proto: http
  115. Connection: close
  116. Cache-Control: max-age=0
  117. Authorization: Basic authstring==
  118. Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
  119. User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36
  120. Accept-Language: en,en-US;q=0.8
  121.  
  122. "
  123. 2015/01/12 06:05:30 [debug] 26192#0: *2 http cleanup add: 0000000001652A80
  124. 2015/01/12 06:05:30 [debug] 26192#0: *2 get rr peer, try: 1
  125. 2015/01/12 06:05:30 [debug] 26192#0: *2 socket 19
  126. 2015/01/12 06:05:30 [debug] 26192#0: *2 epoll add connection: fd:19 ev:80002005
  127. 2015/01/12 06:05:30 [debug] 26192#0: *2 connect to 127.0.0.1:8080, fd:19 #4
  128. 2015/01/12 06:05:30 [debug] 26192#0: *2 http upstream connect: -2
  129. 2015/01/12 06:05:30 [debug] 26192#0: *2 posix_memalign: 0000000001502FB0:128 @16
  130. 2015/01/12 06:05:30 [debug] 26192#0: *2 event timer add: 19: 30000:1421042760801
  131. 2015/01/12 06:05:30 [debug] 26192#0: *2 http finalize request: -4, "/test/testfile.pl?" a:1, c:3
  132. 2015/01/12 06:05:30 [debug] 26192#0: *2 http request count:3 blk:0
  133. 2015/01/12 06:05:30 [debug] 26192#0: *2 http finalize request: -4, "/test/testfile.pl?" a:1, c:2
  134. 2015/01/12 06:05:30 [debug] 26192#0: *2 http request count:2 blk:0
  135. 2015/01/12 06:05:30 [debug] 26192#0: *2 post event 000000000179D818
  136. 2015/01/12 06:05:30 [debug] 26192#0: *2 post event 000000000179D8E8
  137. 2015/01/12 06:05:30 [debug] 26192#0: *2 delete posted event 000000000179D8E8
  138. 2015/01/12 06:05:30 [debug] 26192#0: *2 http upstream request: "/test/testfile.pl?"
  139. 2015/01/12 06:05:30 [debug] 26192#0: *2 http upstream send request handler
  140. 2015/01/12 06:05:30 [debug] 26192#0: *2 http upstream send request
  141. 2015/01/12 06:05:30 [debug] 26192#0: *2 chain writer buf fl:1 s:494
  142. 2015/01/12 06:05:30 [debug] 26192#0: *2 chain writer in: 0000000001652AB8
  143. 2015/01/12 06:05:30 [debug] 26192#0: *2 writev: 494
  144. 2015/01/12 06:05:30 [debug] 26192#0: *2 chain writer out: 0000000000000000
  145. 2015/01/12 06:05:30 [debug] 26192#0: *2 event timer del: 19: 1421042760801
  146. 2015/01/12 06:05:30 [debug] 26192#0: *2 event timer add: 19: 600000:1421043330801
  147. 2015/01/12 06:05:30 [debug] 26192#0: *2 delete posted event 000000000179D818
  148. 2015/01/12 06:05:30 [debug] 26192#0: *2 http run request: "/test/testfile.pl?"
  149. 2015/01/12 06:05:30 [debug] 26192#0: *2 http upstream check client, write event:1, "/test/testfile.pl"
  150. 2015/01/12 06:05:30 [debug] 26192#0: *2 http upstream recv(): -1 (11: Resource temporarily unavailable)
  151. 2015/01/12 06:05:30 [debug] 26192#0: *2 post event 00000000017838D8
  152. 2015/01/12 06:05:30 [debug] 26192#0: *2 post event 000000000179D8E8
  153. 2015/01/12 06:05:30 [debug] 26192#0: *2 delete posted event 000000000179D8E8
  154. 2015/01/12 06:05:30 [debug] 26192#0: *2 http upstream request: "/test/testfile.pl?"
  155. 2015/01/12 06:05:30 [debug] 26192#0: *2 http upstream dummy handler
  156. 2015/01/12 06:05:30 [debug] 26192#0: *2 delete posted event 00000000017838D8
  157. 2015/01/12 06:05:30 [debug] 26192#0: *2 http upstream request: "/test/testfile.pl?"
  158. 2015/01/12 06:05:30 [debug] 26192#0: *2 http upstream process header
  159. 2015/01/12 06:05:30 [debug] 26192#0: *2 malloc: 000000000165B370:8192
  160. 2015/01/12 06:05:30 [debug] 26192#0: *2 posix_memalign: 000000000165D380:4096 @16
  161. 2015/01/12 06:05:30 [debug] 26192#0: *2 recv: fd:19 0 of 8101
  162. 2015/01/12 06:05:30 [error] 26192#0: *2 upstream prematurely closed connection while reading response header from upstream, client: 255.255.255.255, server: www.example.com, request: "GET /test/testfile.pl HTTP/1.1", upstream: "http://127.0.0.1:8080/test/testfile.pl", host: "www.example.com"
  163. 2015/01/12 06:05:30 [debug] 26192#0: *2 http next upstream, 2
  164. 2015/01/12 06:05:30 [debug] 26192#0: *2 free rr peer 1 4
  165. 2015/01/12 06:05:30 [debug] 26192#0: *2 finalize http upstream request: 502
  166. 2015/01/12 06:05:30 [debug] 26192#0: *2 finalize http proxy request
  167. 2015/01/12 06:05:30 [debug] 26192#0: *2 close http upstream connection: 19
  168. 2015/01/12 06:05:30 [debug] 26192#0: *2 free: 0000000001502FB0, unused: 48
  169. 2015/01/12 06:05:30 [debug] 26192#0: *2 event timer del: 19: 1421043330801
  170. 2015/01/12 06:05:30 [debug] 26192#0: *2 reusable connection: 0
  171. 2015/01/12 06:05:30 [debug] 26192#0: *2 http file cache free, fd: -1
  172. 2015/01/12 06:05:30 [debug] 26192#0: *2 http finalize request: 502, "/test/testfile.pl?" a:1, c:1
  173. 2015/01/12 06:05:30 [debug] 26192#0: *2 http special response: 502, "/test/testfile.pl?"
  174. 2015/01/12 06:05:30 [debug] 26192#0: *2 internal redirect: "/error_docs/502_bad_gateway.html?"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement