cpu spike on HUP
gary at justin.tv
Sat Oct 30 01:02:29 MSD 2010
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
>> 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.
More information about the nginx