Welcome! Log In Create A New Profile

Advanced

Re: High CPU Usage and NGINX Hangup

March 05, 2014 02:08AM
On Mar 4, 2014, at 9:07 , loki wrote:

> 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

nginx does not use mutexes. It seems you run 3rd-party modules.


--
Igor Sysoev
http://nginx.com

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

High CPU Usage and NGINX Hangup

loki March 04, 2014 12:07AM

Re: High CPU Usage and NGINX Hangup

loki March 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 Sysoev March 05, 2014 02:08AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 316
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready