Date: Tue, 16 Jan 2007 10:51:08 -0600 From: Dan Nelson <dnelson@allantgroup.com> To: applecom@inbox.ru Cc: freebsd-questions@freebsd.org Subject: Re: '/usr/local/etc/rc.d/squid stop' problem Message-ID: <20070116165107.GN46272@dan.emsphone.com> In-Reply-To: <op.tl821frshbloih@xml.opera.com> References: <op.tl821frshbloih@xml.opera.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Jan 16), applecom@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@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070116165107.GN46272>