Welcome! Log In Create A New Profile

Advanced

Re: cpu spike on HUP

October 30, 2010 02:12AM
On Fri, Oct 29, 2010 at 02:02:29PM -0700, Gary Barrueto wrote:

> On 10/29/2010 01:02 AM, Igor Sysoev wrote:
> > On Thu, Oct 28, 2010 at 04:55:40PM -0700, Gary Barrueto wrote:
> >
> >> Whenever nginx is sent a HUP signal, the cpu jumps to 100% then slowly
> >> drops until all the nginx worker processes that are trying to shutting
> >> down are done. Those nginx process usually take a while to shutdown
> >> since we're serving very large files (200MB-2GB). Any ideas why this is
> >> happening?
> >>
> >> From the strace below it looks like it all in sendfile but I wouldn't
> >> think that would so cpu intense.
> > What kind of CPU is used in these moments: system or user according to top ?
> >
>
> I just sent a HUP signal to nginx and the cpu shot up to 55% user and
> another 10% sys.

Do you send a HUP signal to master process only or to worker processes too ?


--
Igor Sysoev
http://sysoev.ru/en/

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

cpu spike on HUP

Gary Barrueto October 28, 2010 08:02PM

Re: cpu spike on HUP

Igor Sysoev October 29, 2010 04:08AM

Re: cpu spike on HUP

Gary Barrueto October 29, 2010 05:06PM

Re: cpu spike on HUP

Igor Sysoev October 30, 2010 02:12AM

Re: cpu spike on HUP

Gary Barrueto October 30, 2010 05:16AM

Re: cpu spike on HUP

Gary Barrueto November 03, 2010 02:10PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 224
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