Welcome! Log In Create A New Profile

Advanced

Re: Weird Memleak problem

Maxim Dounin
September 02, 2009 05:49PM
Hello!

On Mon, Aug 31, 2009 at 06:10:16PM -0400, Paul wrote:

> Oh I also notice another issue, when ram usage is high like this, when i
> reload nginx it does this:
> root 5776 0.0 0.1 19528 4876 ? Ss Aug30 0:00 nginx:
> master process /usr/local/nginx/sbin/nginx -c conf/ng1.conf
> www 5777 2.3 2.3 184060 94364 ? S Aug30 28:53 nginx:
> worker process is shutting down
> www 5778 2.3 2.3 315500 95496 ? S Aug30 29:23 nginx:

[...]

> and the processes stay in 'process is shutting down' for a LONG time..
> I've waited quite a while before
> doing a restart instead of reload to clear them out. Not sure what
> would cause this?
> Most of my connection timeouts are set between 60-120seconds. Except SSL
> session one is 10m, but i've waited
> hours for the old processes to shut down.

nginx worker processes wait for all currently processed requests
to finish before exiting. It can take hours if there are active
but slow requests or requests with big responses.

You may use normal network diagnostic tools (netstat, tcpdump,
....) to see what actually happens on the wire.

Maxim Dounin
Subject Author Posted

Weird Memleak problem

Paul August 30, 2009 09:45PM

Re: Weird Memleak problem

Igor Sysoev August 31, 2009 01:54AM

Re: Weird Memleak problem

Paul August 31, 2009 12:59PM

Re: Weird Memleak problem

Igor Sysoev August 31, 2009 02:49PM

Re: Weird Memleak problem

Paul August 31, 2009 04:17PM

Re: Weird Memleak problem

Igor Sysoev August 31, 2009 04:37PM

Re: Weird Memleak problem

Paul August 31, 2009 04:52PM

Re: Weird Memleak problem

Igor Sysoev August 31, 2009 05:01PM

Re: Weird Memleak problem

Cliff Wells August 31, 2009 05:07PM

Re: Weird Memleak problem

Paul August 31, 2009 06:00PM

Re: Weird Memleak problem

Paul August 31, 2009 06:10PM

Re: Weird Memleak problem

Cliff Wells August 31, 2009 05:02PM

Re: Weird Memleak problem

Maxim Dounin September 02, 2009 05:49PM

Re: Weird Memleak problem

Paul September 02, 2009 05:49PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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