Search squid archive

RE: Squid takes too long to stop.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




-----Original Message-----
From: Jim John [mailto:jimjohnlists@xxxxxxxxxxx] 
Sent: Friday, August 25, 2006 9:55 PM
To: squid-users@xxxxxxxxxxxxxxx
Subject:  Squid takes too long to stop.

Hi all. We have squid set up for transparency using shorewall, but it takes 
too long to stop. Can we simply direct traffic away from squid using 
shorewall before we stop squid instead of afterwards? Is there another way 
to stop squid faster and safer because our users lose connection while squid

is stopping, which takes 2 minutes or so. This also happens for reload when 
we have squidGuard child processes running under squid. Thanks.


Hello John,

Check the shutdown_lifetime directive in squid.conf.

shutdown_lifetime       time-units
       
When SIGTERM or SIGHUP is received, the cache is put into "shutdown pending"
mode until all active sockets are closed. This value is the lifetime to set
for all open descriptors during shutdown mode.  Any active clients after
this many seconds will receive a 'timeout' message.


Thanks,
Visolve Squid team
www.visolve.com/squid/






[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux