Received: (qmail 5296 invoked by uid 501); 18 Apr 2001 20:39:58 -0000 Message-Id: <20010418203958.5295.qmail@apache.org> Date: 18 Apr 2001 20:39:58 -0000 From: Peter van Dijk Reply-To: peter@dataloss.nl To: submit@bugz.apache.org Subject: Lack of option to make httpd not detach. X-Send-Pr-Version: 3.110 >Number: 7586 >Category: config >Synopsis: Lack of option to make httpd not detach. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: apache >Arrival-Date: Wed Apr 18 13:40:00 PDT 2001 >Closed-Date: Sun Apr 29 21:03:24 PDT 2001 >Last-Modified: Sun Apr 29 21:03:24 PDT 2001 >Originator: peter@dataloss.nl >Release: 1.3.14 >Organization: >Environment: $ uname -a FreeBSD useful.dataloss.nl 4.2-STABLE FreeBSD 4.2-STABLE #0: Fri Dec 15 22:51:43 CET 2000 root@useful.dataloss.nl:/usr/obj/usr/src/sys/USEFUL i386 $ pkg_info | grep apa apache+mod_ssl-1.3.14+2.7.1_1 The Apache 1.3 webserver with SSL/TLS functionality >Description: Apache httpd always detaches itself to become a background process. The only way around this seems to be the -X option, which is not really any useful in production use. Running apache from inetd or the like is not desirable for performance reasons. This makes it impossible to run Apache from init, or any serious process supervising tools (like http://cr.yp.to/daemontools.html) >How-To-Repeat: useful# httpd & [1] 75386 useful# jobs [1] Done httpd useful# jobs The actual process the shell spawned is gone. >Fix: Introduce an option to make apache not background. (options to do access or errorlogging on stdout would be appreciated too, btw). >Release-Note: >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: slive State-Changed-When: Sun Apr 29 21:03:24 PDT 2001 State-Changed-Why: This feature is available in Apache 2.0 (command line option -D NO_DETACH). Major new features are not being added to Apache 1.3 at this point. Thanks for using Apache! >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]