From owner-freebsd-questions@FreeBSD.ORG Tue Jan 16 19:59:08 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 EBBA116A417 for ; Tue, 16 Jan 2007 19:59:08 +0000 (UTC) (envelope-from applecom@inbox.ru) Received: from mx27.mail.ru (mx27.mail.ru [194.67.23.64]) by mx1.freebsd.org (Postfix) with ESMTP id A970913C455 for ; Tue, 16 Jan 2007 19:59:08 +0000 (UTC) (envelope-from applecom@inbox.ru) Received: from [85.115.165.63] (port=45223 helo=xml.opera.com) by mx27.mail.ru with asmtp id 1H6uSZ-000A14-00; Tue, 16 Jan 2007 22:59:07 +0300 Date: Wed, 17 Jan 2007 00:59:05 +0500 To: "Dan Nelson" From: applecom@inbox.ru Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-1 MIME-Version: 1.0 References: <20070116165107.GN46272@dan.emsphone.com> Content-Transfer-Encoding: 7bit Message-ID: In-Reply-To: <20070116165107.GN46272@dan.emsphone.com> User-Agent: Opera Mail/9.10 (FreeBSD) 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 19:59:09 -0000 On Tue, 16 Jan 2007 21:51:08 +0500, Dan Nelson 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!