'/usr/local/etc/rc.d/squid stop' problem

applecom at inbox.ru applecom at inbox.ru
Tue Jan 16 19:59:09 UTC 2007


On Tue, 16 Jan 2007 21:51:08 +0500, Dan Nelson <dnelson at allantgroup.com>  
wrote:

> Try shutting squid down manually from a shell prompt, then switch to
> another window/vty and take a look at /usr/local/squid/logs/cache.log .
> My guess is it's waiting for an active client connection to exit.  The
> default for shutdown_lifetime in squid.conf is 30 seconds.  I set it to
> 5 on my systems.

You was right. There was 'Waiting 30 seconds for active connections to  
finish' in cache.log. I've made 'shutdown_lifetime 5 seconds' in  
squid.conf too. Squid is shutting down faster now. Thanks a lot!


More information about the freebsd-questions mailing list