Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 71724 invoked from network); 28 Aug 2007 17:06:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Aug 2007 17:06:47 -0000 Received: (qmail 14159 invoked by uid 500); 28 Aug 2007 17:06:32 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 14140 invoked by uid 500); 28 Aug 2007 17:06:32 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 14129 invoked by uid 99); 28 Aug 2007 17:06:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Aug 2007 10:06:32 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of brian@intercarve.net designates 66.111.59.160 as permitted sender) Received: from [66.111.59.160] (HELO moose.intercarve.net) (66.111.59.160) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Aug 2007 17:06:27 +0000 Received: by moose.intercarve.net (Postfix, from userid 8) id C87E528001F; Tue, 28 Aug 2007 13:06:06 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.1.7-deb (2006-10-05) on moose.intercarve.net X-Spam-Level: Received: from [192.168.0.10] (unknown [71.216.58.29]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by moose.intercarve.net (Postfix) with ESMTP id 084B8280003 for ; Tue, 28 Aug 2007 13:06:02 -0400 (EDT) Message-ID: <46D455F9.6070905@intercarve.net> Date: Tue, 28 Aug 2007 11:06:01 -0600 From: Brian Cohen User-Agent: Thunderbird 1.5.0.13 (X11/20070824) MIME-Version: 1.0 To: users@httpd.apache.org References: <46D442C5.80605@intercarve.net> In-Reply-To: <46D442C5.80605@intercarve.net> X-Enigmail-Version: 0.94.2.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Flag: NO X-Old-Spam-Status: No, score=0.1 required=10.0 tests=AWL=0.061 autolearn=disabled version=3.1.7-deb Subject: Re: [users@httpd] Unclean restarts Some additional info -- when Apache is running normally (for example, during the middle of the day), we can issue a manual '/etc/init.d/apache reload' and it will work fine. The problems seem to arise some percentage of the time when it tries to run from cron.daily's calling of logrotate/postrotate. Thanks-- Brian J. Cohen Intercarve Networks, LLC 914.552.1274 [cell] Brian Cohen wrote: > We are running Apache 1.3.34. > > On our Debian 4.0 system, each night cron.daily runs logrotate. > Logrotate's postrotate script runs `/etc/init.d/apache reload` (no > errors on stderr). When it is successful, top shows all apache children > go , then apache restarts. But more often than not, all but 2 > or 3 apache children die (without top ever showing ), the pid > file is removed. Those 2 or 3 apache children continue to live and > accept connections, but won't serve any requests. Since the pid file has > been removed, we have to issue a `killall apache`, then > `/etc/init.d/apache start` > > The net effect is pretty fatal. If we're not around when it happens, > Apache remains effectively down until we come around to clean it up. > > Any help or guidance would be greatly appreciated. > > Thanks! > > --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org