From owner-freebsd-questions@FreeBSD.ORG Tue Jan 16 16:51:13 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9A18316A494 for ; Tue, 16 Jan 2007 16:51:13 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.freebsd.org (Postfix) with ESMTP id 5F6A713C469 for ; Tue, 16 Jan 2007 16:51:09 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.6/8.13.8) id l0GGp8O5020813; Tue, 16 Jan 2007 10:51:08 -0600 (CST) (envelope-from dan) Date: Tue, 16 Jan 2007 10:51:08 -0600 From: Dan Nelson To: applecom@inbox.ru Message-ID: <20070116165107.GN46272@dan.emsphone.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 6.2-PRERELEASE User-Agent: Mutt/1.5.13 (2006-08-11) Cc: freebsd-questions@freebsd.org Subject: Re: '/usr/local/etc/rc.d/squid stop' problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jan 2007 16:51:13 -0000 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