Welcome! Log In Create A New Profile

Advanced

High CPU Usage and NGINX Hangup

March 04, 2014 12:07AM
I am seeing my NGINX server randomly hangup. Multiple worker processes utilizing 100% CPU. I see the hangups in strace, but not quite sure what would be causing the issue.

0.000081 futex(0x7f563c893068, FUTEX_WAIT, 0, NULL) = ? ERESTARTSYS (To be restarted)
92.011974 --- SIGHUP (Hangup) @ 0 (0) ---
0.000069 rt_sigreturn(0x934b9b) = -1 EINTR (Interrupted system call)
0.000056 futex(0x7f563c893068, FUTEX_WAIT, 0, NULL) = 0
154.792082 futex(0x7f563c893068, FUTEX_WAKE, 1) = 0

0.000036 recvmsg(32, 0x7fff134e28b0, 0) = -1 EAGAIN (Resource temporarily unavailable)
0.000842 epoll_wait(33, {{EPOLLIN, {u32=404296080, u64=140007748211088}}}, 512, 54019) = 1
49.323010 recvmsg(32, {msg_name(0)=NULL, msg_iov(1)=[{"\2\0\0\0\0\0\0\0\261m\0\0\0\0\0\0\5\0\0\0\0\0\0\0\377\377\377\377\0\0\0\0", 32}], msg_controllen=0, msg_flags=0}, 0) = 32
0.000129 close(23) = 0
0.002116 recvmsg(32, 0x7fff134e28b0, 0) = -1 EAGAIN (Resource temporarily unavailable)
0.000837 epoll_wait(33, {{EPOLLIN, {u32=404296080, u64=140007748211088}}}, 512, 4695) = 1
SubjectAuthorPosted

High CPU Usage and NGINX Hangup

lokiMarch 04, 2014 12:07AM

Re: High CPU Usage and NGINX Hangup

lokiMarch 04, 2014 11:18PM

Re: High CPU Usage and NGINX Hangup

Yichun Zhang (agentzh)March 05, 2014 12:18AM

Re: High CPU Usage and NGINX Hangup

Igor SysoevMarch 05, 2014 02:08AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 100
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 229 on August 01, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready