Skip to content

Instantly share code, notes, and snippets.

@r0bj
Created September 2, 2016 15:19
Show Gist options
  • Save r0bj/b618c74b1bc0db5c11f78db08c34fc15 to your computer and use it in GitHub Desktop.
Save r0bj/b618c74b1bc0db5c11f78db08c34fc15 to your computer and use it in GitHub Desktop.
[pid 15818] epoll_wait(8<anon_inode:[eventpoll]>, {{EPOLLIN, {u32=2455235840, u64=140039863921920}}}, 128, -1) = 1
[pid 15818] futex(0x173e310, FUTEX_WAKE, 1) = 1
[pid 15813] <... futex resumed> ) = 0
[pid 15818] accept4(7, <unfinished ...>
[pid 15813] sched_yield( <unfinished ...>
[pid 15818] <... accept4 resumed> {sa_family=AF_INET6, sin6_port=htons(50068), inet_pton(AF_INET6, "::ffff:127.0.0.1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28], SOCK_CLOEXEC|SOCK_NONBLOCK) = 134
[pid 15813] <... sched_yield resumed> ) = 0
[pid 15818] epoll_ctl(8<anon_inode:[eventpoll]>, EPOLL_CTL_ADD, 134<socket:[1170716]>, {EPOLLIN|EPOLLOUT|EPOLLRDHUP|EPOLLET, {u32=2452846528, u64=140039861532608}} <unfinished ...>
[pid 15813] futex(0x173e250, FUTEX_WAKE, 1 <unfinished ...>
[pid 15818] <... epoll_ctl resumed> ) = 0
[pid 15813] <... futex resumed> ) = 0
[pid 15818] getsockname(134, <unfinished ...>
[pid 15813] select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
[pid 15818] <... getsockname resumed> {sa_family=AF_INET6, sin6_port=htons(8000), inet_pton(AF_INET6, "::ffff:127.0.0.1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 0
[pid 15818] setsockopt(134, SOL_TCP, TCP_NODELAY, [1], 4) = 0
[pid 15818] accept4(7, 0xc82039b798, [112], SOCK_CLOEXEC|SOCK_NONBLOCK) = -1 EAGAIN (Resource temporarily unavailable)
[pid 15818] read(134<socket:[1170716]>, 0xc822655000, 4096) = -1 EAGAIN (Resource temporarily unavailable)
[pid 15813] <... select resumed> ) = 0 (Timeout)
[pid 15818] epoll_wait(8<anon_inode:[eventpoll]>, <unfinished ...>
[pid 15813] select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
[pid 15818] <... epoll_wait resumed> {{EPOLLOUT, {u32=2452846528, u64=140039861532608}}}, 128, 0) = 1
[pid 15813] <... select resumed> ) = 0 (Timeout)
[pid 15818] epoll_wait(8<anon_inode:[eventpoll]>, <unfinished ...>
[pid 15813] select(0, NULL, NULL, NULL, {0, 20}) = 0 (Timeout)
[pid 15813] futex(0x173e310, FUTEX_WAIT, 0, {60, 0} <unfinished ...>
[pid 15818] <... epoll_wait resumed> {{EPOLLIN|EPOLLOUT, {u32=2452846528, u64=140039861532608}}}, 128, -1) = 1
[pid 15818] futex(0x173e310, FUTEX_WAKE, 1) = 1
[pid 15813] <... futex resumed> ) = 0
[pid 15818] read(134<socket:[1170716]>, <unfinished ...>
[pid 15813] sched_yield( <unfinished ...>
[pid 15818] <... read resumed> "GET / HTTP/1.1\r\nUser-Agent: curl/7.35.0\r\nAccept: */*\r\nHost:test-nginx.example.net\r\n\r\n", 4096) = 85
[pid 15813] <... sched_yield resumed> ) = 0
[pid 15818] stat("/etc/hosts", <unfinished ...>
[pid 15813] futex(0x173e250, FUTEX_WAKE, 1 <unfinished ...>
[pid 15818] <... stat resumed> {st_mode=S_IFREG|0644, st_size=221, ...}) = 0
[pid 15813] <... futex resumed> ) = 0
[pid 15818] socket(PF_INET, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, IPPROTO_IP <unfinished ...>
[pid 15813] select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
[pid 15818] <... socket resumed> ) = 139
[pid 15818] setsockopt(139, SOL_SOCKET, SO_BROADCAST, [1], 4) = 0
[pid 15818] connect(139, {sa_family=AF_INET, sin_port=htons(80), sin_addr=inet_addr("127.0.0.1")}, 16 <unfinished ...>
[pid 15813] <... select resumed> ) = 0 (Timeout)
[pid 15818] <... connect resumed> ) = -1 EINPROGRESS (Operation now in progress)
[pid 15813] select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
[pid 15818] epoll_ctl(8<anon_inode:[eventpoll]>, EPOLL_CTL_ADD, 139<socket:[1170718]>, {EPOLLIN|EPOLLOUT|EPOLLRDHUP|EPOLLET, {u32=2455097440, u64=140039863783520}}) = 0
[pid 15818] futex(0xc820337908, FUTEX_WAKE, 1) = 1
[pid 15815] <... futex resumed> ) = 0
[pid 15818] futex(0x173df18, FUTEX_WAIT, 0, {29, 991039011} <unfinished ...>
[pid 15815] epoll_wait(8<anon_inode:[eventpoll]>, {{EPOLLOUT, {u32=2455097440, u64=140039863783520}}}, 128, 0) = 1
[pid 15815] getsockopt(139, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
[pid 15815] getsockname(139, {sa_family=AF_INET, sin_port=htons(47754), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
[pid 15815] getpeername(139, {sa_family=AF_INET, sin_port=htons(80), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
[pid 15815] setsockopt(139, SOL_TCP, TCP_NODELAY, [1], 4) = 0
[pid 15815] setsockopt(139, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
[pid 15815] setsockopt(139, SOL_TCP, TCP_KEEPINTVL, [30], 4) = 0
[pid 15815] setsockopt(139, SOL_TCP, TCP_KEEPIDLE, [30], 4) = 0
[pid 15815] read(139<socket:[1170718]>, 0xc820d44000, 4096) = -1 EAGAIN (Resource temporarily unavailable)
[pid 15815] write(139<socket:[1170718]>, "GET / HTTP/1.1\r\nHost: localhost:80\r\nUser-Agent: curl/7.35.0\r\nAccept: */*\r\nX-Forwarded-For: 127.0.0.1\r\nX-Forwarded-Host: localhost:80\r\nX-Forwarded-Proto: http\r\nX-Forwarded-Server: trusty\r\nX-Traefik-Reqid: 24607\r\nAccept-Encoding: gzip\r\n\r\n", 236) = 236
[pid 15813] <... select resumed> ) = 0 (Timeout)
[pid 15815] epoll_wait(8<anon_inode:[eventpoll]>, <unfinished ...>
[pid 15813] epoll_wait(8<anon_inode:[eventpoll]>, <unfinished ...>
[pid 15815] <... epoll_wait resumed> {}, 128, 0) = 0
[pid 15813] <... epoll_wait resumed> {{EPOLLIN|EPOLLOUT, {u32=2455097440, u64=140039863783520}}}, 128, 0) = 1
[pid 15815] read(139<socket:[1170718]>, <unfinished ...>
[pid 15813] select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
[pid 15815] <... read resumed> "HTTP/1.1 200 OK\r\nServer: nginx/1.4.6 (Ubuntu)\r\nDate: Fri, 02 Sep 2016 15:18:56 GMT\r\nContent-Type: text/html\r\nLast-Modified: Tue, 04 Mar 2014 11:46:45 GMT\r\nTransfer-Encoding: chunked\r\nConnection: keep-alive\r\nContent-Encoding: gzip\r\n\r\n180\r\n\37\213\10\0\0\0\0\0\0\3uR=o\3340\f\335\365+\230\314\227S\203\242\313U5P\344\3\350\224\f\207\26\35y6m\v\221D\207\222r5\212\376\367\322\347\344\272\244Z\304\17\361\361=R\356\342\366\341f\377\363\361\16\306\22Cc\334\333E\330\251W|\t\324\374\240\320r$(\fi\360\351\327\205\263k\302\270\\f}`@\317\201\273\31~\237\314\305=\372\256\214;\370\370\211\342\347s0\242(\300\16>\0\326\302\377\342=\247r\325c\364a\336\301\36G\216\270\201\357$\35&5\276\212\307\260\201\214)_e\22\337\257\205\177\214\263\257\375\235\35W\302\v\211E\305\365{\2445j\334\324|\353a\346\n\231T\321\3503L8\320FMZ\325\301\221\16\232\224\27\22\320l\256mK9\3675\204\31|\312\5C\240\0160u\346\310\362\344\323\260\205\373*Z.\320r\352\375P\5\213\347\264\24\v=W/\324m\235\235\32\2634\277g\1N\301'\202\216\333\32)\225\365\265\2j\257ib)0\5\302LZ\335+ha\343\20Fu\276\\\216\245L;kO[\330\262\f\366\2629\333\316b\263u\7\261\215\271\341\30IZ\235\332\31R\311\340\v\372\200\207@\200\345?\220\272\3463\244\332+\344\33uG\261\331\217\230\236N\343\353UH\315*\177\235\232*\324\364I\246\263\257[\260\353g\372\v\243*\5\21d\2\0\0\r\n0\r\n\r\n", 4096) = 629
[pid 15815] read(139<socket:[1170718]>, 0xc820d44000, 4096) = -1 EAGAIN (Resource temporarily unavailable)
[pid 15813] <... select resumed> ) = 0 (Timeout)
[pid 15815] write(5</var/log/traefik.log>, "time=\"2016-09-02T17:18:56+02:00\" level=debug msg=\"Round trip: http://localhost:80, code: 200, duration: 10.625712ms\" \n", 118 <unfinished ...>
[pid 15813] select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
[pid 15815] <... write resumed> ) = 118
[pid 15815] epoll_wait(8<anon_inode:[eventpoll]>, {}, 128, 0) = 0
[pid 15815] epoll_wait(8<anon_inode:[eventpoll]>, <unfinished ...>
[pid 15813] <... select resumed> ) = 0 (Timeout)
[pid 15813] futex(0x173e310, FUTEX_WAIT, 0, {60, 0}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment