Thanks for the quick reply.<br>But what is the right way for dynamic weight management of upstreams?<br><br><div class="gmail_quote">2010/5/31 Maxim Dounin <span dir="ltr">&lt;<a href="mailto:mdounin@mdounin.ru">mdounin@mdounin.ru</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hello!<br>
<div class="im"><br>
On Mon, May 31, 2010 at 03:44:56PM +0400, Andrey Feldman wrote:<br>
<br>
&gt; We need to change upstreams weight dynamicly(every 15 sec.), is that normal<br>
&gt; to reload nginx so frequently in prodution?<br>
<br>
</div>Not really, but this depends on your workload.<br>
<br>
Every reload gracefully shutdowns old workers.  This means that if<br>
there are long-lived requests (big downloads from clients with<br>
slow links etc.) old workers may still be here for a while.  And<br>
they still consume memory and so on.  In my practice shutdown time<br>
reached several hours in some cases.<br>
<br>
If you reload every 15 seconds and shutdown takes longer - you<br>
have problem.<br>
<br>
Maxim Dounin<br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://nginx.org/mailman/listinfo/nginx" target="_blank">http://nginx.org/mailman/listinfo/nginx</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>-- <br>Andrey Feldman<br>