<div class="gmail_quote">On Mon, Jun 2, 2008 at 7:57 AM, Chris Shenton <<a href="mailto:chris.shenton@nasa.gov">chris.shenton@nasa.gov</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
We have to fill out pounds of paperwork in order to take any outage on<br>
a public server, no matter how small.  Is there a way to restart<br>
Varnish without any downtime -- to continue accepting but holding<br>
connections until restarted, rather like Apache's "apachectl graceful"<br>
does?  Other ideas?</blockquote><div><br></div><div>Can you avoid the problem by putting your Varnish servers behind a load balancer?  That way, you can preemptively disable the server from taking traffic on the LB side prior to restarting Varnish, thereby eliminating any perceivable customer effect.</div>
<div><br></div><div>Also, be careful about using "apachectl graceful" (especially combined with log rotation), as connections that are currently idle but which may never receive traffic again will not be terminated.  I consider it too leaky to use.</div>
<div><br></div><div>Best regards,</div><div><br></div><div>--Michael</div></div>