<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal>Hey Mani,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>With “squid -k reconfigure” there shouldn’t be down time.<o:p></o:p></p><p class=MsoNormal>There are special scenarios which the complexity or the length of the configuration files will result<br>in a scenario of a slowdown in the overall performance of the service on a reconfiguration.<o:p></o:p></p><p class=MsoNormal>There is a very far possibility which will cause a drop of connections while running the reconfiguration.<o:p></o:p></p><p class=MsoNormal>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)<br>it’s simple to assume that it won’t affect the service at all.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Just take into account that the proper “ratio” of reconfiguration should be no more then once per hour and <br>the most widely used reconfiguration is once per day.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>If you will want to make the service dynamic you can use external_acl and other helpers that will allow you<br>to prevent and reconfiguration of the service when not really required.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>All The Bests,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>----<o:p></o:p></p><p class=MsoNormal>Eliezer Croitoru<o:p></o:p></p><p class=MsoNormal>NgTech, Tech Support<o:p></o:p></p><p class=MsoNormal>Mobile: +972-5-28704261<o:p></o:p></p><p class=MsoNormal>Email: <a href="mailto:ngtech1ltd@gmail.com"><span style='color:blue'>ngtech1ltd@gmail.com</span></a><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b>From:</b> squid-users <squid-users-bounces@lists.squid-cache.org> <b>On Behalf Of </b>Manikandan Swaminathan<br><b>Sent:</b> Friday, May 6, 2022 04:33<br><b>To:</b> squid-users@lists.squid-cache.org<br><b>Subject:</b> [squid-users] Squid Reconfigure Downtime<o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Hello,<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>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...<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>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?<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>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.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Thanks,<o:p></o:p></p></div><div><p class=MsoNormal>Mani<o:p></o:p></p></div></div></div></body></html>