<html><head></head><body><div class="ydp5e8f0a55yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div></div>
<div>That should do it, AFAIK a process cannot give back memory already allocated to the system.</div><div><br></div><div>I would be more than interested to know more about a different technique that doesn't involve a fork system call.<br></div><div><br></div>
</div><div id="ydpa4f6ff73yahoo_quoted_1654956030" class="ydpa4f6ff73yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
Em quinta-feira, 28 de fevereiro de 2019 19:28:00 BRT, Reinis Rozitis <r@roze.lv> escreveu:
</div>
<div><br></div>
<div><br></div>
<div><div dir="ltr">> My question still stands though, is there a way to solve that particular issue? It is<br clear="none">> causing us problems when the ram that Nginx is using doubles.<br clear="none"><br clear="none">Theoretically if that’s a problem you could instead of a reload send USR2 and QUIT to the nginx process (<a shape="rect" href="http://nginx.org/en/docs/control.html" rel="nofollow" target="_blank">http://nginx.org/en/docs/control.html</a>) which should spawn a new master and the gracefully quit the old one.<br clear="none"><br clear="none">Correct me if I'm wrong (actually haven't tested for memory usage).<div class="ydpa4f6ff73yqt3298963008" id="ydpa4f6ff73yqtfd45233"><br clear="none"><br clear="none">rr<br clear="none"><br clear="none">_______________________________________________<br clear="none">nginx mailing list<br clear="none"><a shape="rect" href="mailto:nginx@nginx.org" rel="nofollow" target="_blank">nginx@nginx.org</a><br clear="none"><a shape="rect" href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="nofollow" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a></div></div></div>
</div>
</div></body></html>