[squid-users] Squid Reconfigure Downtime

Eliezer Croitoru ngtech1ltd at gmail.com
Fri May 6 09:43:55 UTC 2022


Hey Mani,

 

With “squid -k reconfigure” there shouldn’t be down time.

There are special scenarios which the complexity or the length of the configuration files will result
in a scenario of a slowdown in the overall performance of the service on a reconfiguration.

There is a very far possibility which will cause a drop of connections while running the reconfiguration.

I will define a rule: if “squid -k parse” doesn’t take too long ( max couple secs..which is a lot for most use cases)
it’s simple to assume that it won’t affect the service at all.

 

Just take into account that the proper “ratio” of reconfiguration should be no more then once per hour and 
the most widely used reconfiguration is once per day.

 

If you will want to make the service dynamic you can use external_acl and other helpers that will allow you
to prevent and reconfiguration of the service when not really required.

 

All The Bests,

 

----

Eliezer Croitoru

NgTech, Tech Support

Mobile: +972-5-28704261

Email:  <mailto:ngtech1ltd at gmail.com> ngtech1ltd at gmail.com

 

From: squid-users <squid-users-bounces at lists.squid-cache.org> On Behalf Of Manikandan Swaminathan
Sent: Friday, May 6, 2022 04:33
To: squid-users at lists.squid-cache.org
Subject: [squid-users] Squid Reconfigure Downtime

 

Hello,

 

I'm new to Squid and am currently researching the use/effects of running reconfigurations. I've come across a couple links and forums that talk about this, but since some of those are a bit dated I wanted to make sure I have the right info...

 

We're currently running Squid 4.8, and I want to know, what is the expected downtime when running "squid -k reconfigure"? How does this affect existing and incoming connections?

 

I ran a simple test in my machine where I reconfigure squid, while separately running multiple proxy requests. As far as I could tell, there wasn't any disruption, but I'd like to get some input from more experienced folks.

 

Thanks,

Mani

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20220506/69be616b/attachment.htm>


More information about the squid-users mailing list