Re: [squid-users] Question about shutdown_lifetime behavior.

2018-05-03 Thread Cody Herzog
Thanks, Alex. I do have some concerns that 'reconfigure' may cause disruptions in certain situations, but I haven't seen it yet. Perhaps it is most likely to cause problems when connections are first being established, or when they are changing states. It seems to do a good job of not disrupti

Re: [squid-users] Question about shutdown_lifetime behavior.

2018-05-02 Thread Alex Rousskov
On 05/02/2018 03:07 PM, Cody Herzog wrote: > So, here is my shutdown sequence: > > 1.) Modify config file to prevent new client connections and 'reconfigure'. > 2.) Poll active requests until there are no connections to critical services. > 3.) Issue the shutdown command with a small value for sh

Re: [squid-users] Question about shutdown_lifetime behavior.

2018-05-02 Thread Cody Herzog
Thanks again, Amos. >Then Squids behaviour already matches your requirements. The "or when timeout >occurs" is shutdown_lifetime and you do not have to do anything. I'm confused by this. After issuing the first shutdown command, my desired behavior is for Squid to shut itself down fully as soon

Re: [squid-users] Question about shutdown_lifetime behavior.

2018-05-01 Thread Amos Jeffries
On 02/05/18 05:17, Cody Herzog wrote: > Thanks very much for the quick response, Amos. > >   > > For my use case, I would like Squid to exit when all client connections > have been closed or when the timeout occurs, whichever comes first. > Then Squids behaviour already matches your requirement

Re: [squid-users] Question about shutdown_lifetime behavior.

2018-05-01 Thread Cody Herzog
Thanks very much for the quick response, Amos. For my use case, I would like Squid to exit when all client connections have been closed or when the timeout occurs, whichever comes first. My instances of Squid may be handling several persistent WebSocket connections, and I don't want to disrupt

Re: [squid-users] Question about shutdown_lifetime behavior.

2018-04-30 Thread Amos Jeffries
On 01/05/18 18:04, Cody Herzog wrote: > Hello. > > I have a question about shutdown_lifetime: > > http://www.squid-cache.org/Doc/config/shutdown_lifetime/ > > Does Squid always wait the full amount of time before shutting down, even > after all active connections have closed? For now yes. Long

[squid-users] Question about shutdown_lifetime behavior.

2018-04-30 Thread Cody Herzog
Hello. I have a question about shutdown_lifetime: http://www.squid-cache.org/Doc/config/shutdown_lifetime/ Does Squid always wait the full amount of time before shutting down, even after all active connections have closed? Based on my testing, it seems like it does. However, I found some docu