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

Dan Nelson dnelson at allantgroup.com
Tue Jan 16 16:51:13 UTC 2007


In the last episode (Jan 16), applecom at inbox.ru said:
> It seems something strange with squid-2.6.6 on my FreeBSD
> 6.2-PRERELEASE box. After running 'usr/local/etc/rc.d/squid stop'
> (and therefore during system shutdown on 'Ctrl+Alt+Delete' or ACPI
> power button pushing) I see the following:
> 
> Stopping squid. Waiting for PIDS: 553 564, 553 564, 553 564, 553 564,
> 553 564, 553 564, 553 564, 553 564, 553 564, 553 564, 553 564, 553
> 564, 553 564, 553 564, 553 564, 553 564.
> 
> In case of shutdown /etc/rc.shutdown initiates watchdog timer. I
> think it isn't normal.

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.

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list