Re: '/usr/local/etc/rc.d/squid stop' problem
On Tue, 16 Jan 2007 21:51:08 +0500, Dan Nelson <[EMAIL PROTECTED]> 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! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: '/usr/local/etc/rc.d/squid stop' problem
[EMAIL PROTECTED] wrote: > 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. On my system the shutdown time of squid is also very long, but it's done before the watchdog kills it. I suppose squid is doing some kind of cleaning up, maybe try to use a smaller cache and check weather that affects the shutdown period. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: '/usr/local/etc/rc.d/squid stop' problem
In the last episode (Jan 16), [EMAIL PROTECTED] 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 [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
'/usr/local/etc/rc.d/squid stop' problem
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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"