Welcome! Log In Create A New Profile

Advanced

Re: Memory consumption in case of huge number of configs

Maxim Dounin
June 20, 2012 01:44AM
Hello!

On Tue, Jun 19, 2012 at 10:46:52PM +0400, Valentin V. Bartenev wrote:

> On Tuesday 19 June 2012 19:42:14 dparshin wrote:
> [...]
> > >
> > > Of course it creates a new pool. Nginx must
> > > continue to work and handle
> > > requests, even if it fails to load the new
> > > configuration.
> >
> > Sounds reasonable, but unused pool(after reload process successfully
> > finished) is not destroyed,
>
> Actually it is destroyed. But only after all old workers have finished
> servicing their clients.

No, old cycle's pool is destroyed right after new configuration
reading, at ngx_init_cycle() end.

(Note that this applies to normal mode of operation with master
process. Without master process there are some shims to delay old
cycle's pool destruction as it might be needed. This is for
debugging only though.)

Maxim Dounin

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

Memory consumption in case of huge number of configs

dparshin June 18, 2012 03:47PM

Re: Memory consumption in case of huge number of configs

Valentin V. Bartenev June 18, 2012 07:14PM

Re: Memory consumption in case of huge number of configs

dparshin June 19, 2012 11:42AM

Re: Memory consumption in case of huge number of configs

Maxim Dounin June 19, 2012 02:24PM

Re: Memory consumption in case of huge number of configs

Valentin V. Bartenev June 19, 2012 02:48PM

Re: Memory consumption in case of huge number of configs

Maxim Dounin June 20, 2012 01:44AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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