Re: Memory usage doubles on reload

2017-09-24 Thread PetrHolik
Hello, unfortunately no :( we have doubled server memory to 128Gigs. Sincerely Petr Holik Posted at Nginx Forum: https://forum.nginx.org/read.php?2,248163,276499#msg-276499 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listi

AW: Memory usage doubles on reload

2017-09-20 Thread Lukas Tribus
Hello, starting with nginx 1.11.11 you can use worker_shutdown_timeout to limit the amount of time workers stall the shutdown. However, you will still have increased memory usage. You will always have increased memory usage while soft reloading. If you cannot accept that, then you have to stop

Re: Memory usage doubles on reload

2017-09-18 Thread pavelz
Hi PetrHolik, Did you find a solution to forcibly releasing memory after Ngin reload? We are now experiencing the same problem. After Nginx reload, the memory consumption of Nginx processes grows to 10Gb Posted at Nginx Forum: https://forum.nginx.org/read.php?2,248163,276430#msg-276430 ___

Re: Memory usage doubles on reload

2014-03-07 Thread PetrHolik
Ok, thanks for info. I'll, do some research. I read some articles about memory allocation and I think when the system will be going to out of memory, the will try to reclaim freed pages which in normal situations when have enough ram does not because of avoiding memory fragmentation. Petr Holik

Re: Memory usage doubles on reload

2014-03-07 Thread Maxim Dounin
Hello! On Thu, Mar 06, 2014 at 03:01:49PM -0500, PetrHolik wrote: > Hello Maxim, thanks for reply. > > Is there possibility to purge allocated buffer(RAM) in old(gracefully) > worker processes? IMO worker thread have allocated all memory till last > clients disconnects. That is really isue for u

Re: Memory usage doubles on reload

2014-03-06 Thread PetrHolik
Hello Maxim, thanks for reply. Is there possibility to purge allocated buffer(RAM) in old(gracefully) worker processes? IMO worker thread have allocated all memory till last clients disconnects. That is really isue for us - we have currently 32Gigs of spare RAM to be able to handle reload under lo

Re: Memory usage doubles on reload

2014-03-05 Thread Maxim Dounin
Hello! On Wed, Mar 05, 2014 at 05:47:47PM -0500, PetrHolik wrote: > Hello we are running nginx 1.2.7 with this in conf: > output_buffers 5 5m; > sendfile off; > > That works well, BUT if I reload server configuration with nginx -s reload > Memory consumptions for few hours(clients use long l

Memory usage doubles on reload

2014-03-05 Thread PetrHolik
Hello we are running nginx 1.2.7 with this in conf: output_buffers 5 5m; sendfile off; That works well, BUT if I reload server configuration with nginx -s reload Memory consumptions for few hours(clients use long lived(few hours) tcp connections). Is this behavior correct? Can we avoid this? W