Re: [squid-users] Refusing connections during squid -k reconfigure

From: Amos Jeffries <squid3@dont-contact.us>
Date: Thu, 31 Jan 2008 23:42:38 +1300

Emil Mikulic wrote:
> Hi there,
>
> I need to periodically restart a bunch of url_rewrite_programs.
>
> If I issue "squid -k reconfigure" then there is a short window (~5 secs)
> during which squid refuses connections! Is there a way to tell squid to
> recycle its children without outright refusing connections, to just
> delay processing them?
>
> --Emil

If the delay between starting and stopping is long enough and can be
done with X + random-time offset. Squid will cope with some helpers
simply stopping and resumes them.

I would advise testing this well in a controlled environment first.

Amos

-- 
Please use Squid 2.6STABLE17+ or 3.0STABLE1+
There are serious security advisories out on all earlier releases.
Received on Thu Jan 31 2008 - 03:42:35 MST

This archive was generated by hypermail pre-2.1.9 : Fri Feb 01 2008 - 12:00:05 MST