From owner-freebsd-questions@FreeBSD.ORG Tue Jan 16 17:30:12 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 8C7A916A412 for ; Tue, 16 Jan 2007 17:30:12 +0000 (UTC) (envelope-from LoN_Kamikaze@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id A4B7A13C45D for ; Tue, 16 Jan 2007 17:30:11 +0000 (UTC) (envelope-from LoN_Kamikaze@gmx.de) Received: (qmail invoked by alias); 16 Jan 2007 17:30:09 -0000 Received: from nat-wh-1.rz.uni-karlsruhe.de (EHLO [192.168.1.12]) [129.13.72.169] by mail.gmx.net (mp054) with SMTP; 16 Jan 2007 18:30:09 +0100 X-Authenticated: #5465401 Message-ID: <45AD0BDF.1060304@gmx.de> Date: Tue, 16 Jan 2007 18:31:11 +0100 From: "[LoN]Kamikaze" Organization: Lords of Nightmare User-Agent: Thunderbird 1.5.0.9 (X11/20061222) MIME-Version: 1.0 To: applecom@inbox.ru References: In-Reply-To: X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 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 17:30:12 -0000 applecom@inbox.ru 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.