Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 64357 invoked from network); 6 Feb 2004 23:11:51 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 6 Feb 2004 23:11:51 -0000 Received: (qmail 77203 invoked by uid 500); 6 Feb 2004 23:11:28 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 77174 invoked by uid 500); 6 Feb 2004 23:11:28 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 77135 invoked from network); 6 Feb 2004 23:11:27 -0000 Received: from unknown (HELO scotch.ics.uci.edu) (128.195.24.168) by daedalus.apache.org with SMTP; 6 Feb 2004 23:11:27 -0000 Received: from st-augustin.ics.uci.edu (st-augustin.ics.uci.edu [128.195.20.85]) (authenticated bits=0) by scotch.ics.uci.edu (8.12.6/8.12.6) with ESMTP id i16NBVcF006177 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Fri, 6 Feb 2004 15:11:31 -0800 (PST) Date: Fri, 06 Feb 2004 15:11:48 -0800 From: Justin Erenkrantz To: dev@httpd.apache.org Subject: Re: [PATCH] More sensible behavior(?) when zero-length pid file is found Message-ID: <2147483647.1076080308@st-augustin.ics.uci.edu> In-Reply-To: <20040205130143.GA79328@deejai2.mch.fsc.net> References: <20040205130143.GA79328@deejai2.mch.fsc.net> X-Mailer: Mulberry/3.1.1 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Spam-Level: X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=unavailable version=2.70-r6256 X-Spam-Checker-Version: SpamAssassin 2.70-r6256 (2004-01-23) on scotch.ics.uci.edu X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --On Thursday, February 5, 2004 2:01 PM +0100 Martin Kraemer wrote: > When, with httpd-2.1, the pid file exists but has a zero size, then > httpd refuses to start. > > The attached patch changes this behavior and removes the empty pid file > (but only if it exists AND is empty) and logs a message: > > (17)File exists: Zero-length PID file logs/httpd.pid ignored. +1. -- justin