Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 98139 invoked by uid 500); 31 Jul 2003 17:12:21 -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: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 98023 invoked from network); 31 Jul 2003 17:12:20 -0000 Received: from web20403.mail.yahoo.com (HELO web20415.mail.yahoo.com) (66.163.169.91) by daedalus.apache.org with SMTP; 31 Jul 2003 17:12:20 -0000 Message-ID: <20030731171223.47713.qmail@web20415.mail.yahoo.com> Received: from [67.72.12.29] by web20403.mail.yahoo.com via HTTP; Thu, 31 Jul 2003 10:12:23 PDT Date: Thu, 31 Jul 2003 10:12:23 -0700 (PDT) From: Jeff Nokes To: users@httpd.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: [users@httpd] httpd single process mode and httpd.pid Hello, First I'd like to apologize if this question is covered somewhere in the archive, UseNet or on the web somewhere, but I could not find it anywhere. I'm currently running Apache 1.3.28 on RedHat 7.2, I compiled from source and am not using the RPM. I'm running multiple instances of Apache binded to different ports, allowing each one to be a "sandbox" for a developer. Everything seems to be working just fine, but I am seeing one unusual behavior. When I start one of these instances of apache using 'apachectl start', it creates the httpd.pid file fine, and all the processes start up just fine. When I use 'apachectl stop' to shut this instance of apache down, it shuts down just fine as well, and the httpd.pid file is deleted. When I run 'httpd -X &' to get that instance of apache running in single process mode, it starts up one process just fine, and again creates the httpd.pid file just fine as well. When I try to stop this instance using 'apachectl stop', it stops that single process just fine, but id DOES NOT delete the existing httpd.pid file. So, when I start it up again, I'll see the warning messages in the error log saying it detected an old httpd.pid file. This really isn't causing any performance issues, but I was wondering if there was a way to get the httpd.pid to delete when shutting down apache running in single process mode? I like doing development in single process mode first, if it's possible. I looked at the apachectl script and I can see that it is not responsible for removing the httpd.pid file, so I'm assuming the httpd executable is. Anyone have any suggestions as to how I can get proper clean-up of the httpd.pid file when running in single process mode? Thanks in advance. - Jeff --------------------------------------------------------------------- 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