Just to be clear, would you suggest something like:<div>1. Mark the Varnish server as disabled in the BIG-IP</div><div>2. Use varnishadm to set sess_timeout to 0 to start aggressively closing HTTP requests?</div><div>3. Wait for connections to drain</div>
<div><br></div><div>Steve</div><div><div><br><div class="gmail_quote">On Mon, Jul 9, 2012 at 3:59 PM, Javier Casares <span dir="ltr"><<a href="mailto:javier@casares.org" target="_blank">javier@casares.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><a href="https://www.varnish-cache.org/docs/3.0/reference/varnishd.html" target="_blank">https://www.varnish-cache.org/docs/3.0/reference/varnishd.html</a><br>
<br>
sess_timeout<br>
<br>
Units: seconds<br>
Default: 5<br>
<br>
Idle timeout for persistent sessions. If a HTTP request has not<br>
been received in this many seconds, the session is closed.<br>
<br>
¿?<br>
<br>
Javier Casares<br>
<a href="http://javiercasares.com/" target="_blank">http://javiercasares.com/</a><br>
<br>
<br>
2012/7/9 Steven Engelhardt <<a href="mailto:sengelha@gmail.com">sengelha@gmail.com</a>>:<br>
<div><div class="h5">> I have two Varnish servers behind a F5 BIG-IP load balancer. Both servers<br>
> are constantly active and serving ~5,000 requests/second 24x7. Clients<br>
> aggressively use HTTP 1.1 Keep-Alives.<br>
><br>
> I'm looking to develop a process for servicing and upgrading the Varnish<br>
> servers which results in 0 downtime to the client. Our normal process for<br>
> performing changes on production servers is:<br>
> 1. Mark the server as disabled in the BIG-IP<br>
> 2. Wait for the connections on the server to drop to 0<br>
> 3. Service the machine<br>
><br>
> However, because of the aggressive and constant use of HTTP Keep-Alives,<br>
> clients virtually never drop their connections, and the machine continues to<br>
> serve traffic for quite a long time after it is disabled in the BIG-IP.<br>
><br>
> Is there a way to tell Varnish to aggressively close all client HTTP<br>
> connections?<br>
><br>
> Thank you,<br>
> Steve<br>
><br>
> --<br>
> Steven Engelhardt<br>
> <a href="mailto:sengelha@gmail.com">sengelha@gmail.com</a><br>
><br>
</div></div>> _______________________________________________<br>
> varnish-misc mailing list<br>
> <a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a><br>
> <a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" target="_blank">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a><br>
<br>
_______________________________________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a><br>
<a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" target="_blank">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a></blockquote></div><br><br clear="all"><div><br></div>-- <br>
Steven Engelhardt<br><a href="mailto:sengelha@gmail.com">sengelha@gmail.com</a><br>
</div></div>