Welcome! Log In Create A New Profile

Advanced

Re: Memory consumption in case of huge number of configs

Valentin V. Bartenev
June 19, 2012 02:48PM
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.

> and after fork the amount of unused memory
> is multiplied by the number of workers.

The memory used for configuration pool isn't multiplied by the number
of workers because of COW.

wbr, Valentin V. Bartenev

_______________________________________________
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: 198
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