www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter van Dijk <pe...@dataloss.nl>
Subject config/7586: Lack of option to make httpd not detach.
Date Wed, 18 Apr 2001 20:39:58 GMT

>Number:         7586
>Category:       config
>Synopsis:       Lack of option to make httpd not detach.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          change-request
>Submitter-Id:   apache
>Arrival-Date:   Wed Apr 18 13:40:00 PDT 2001
>Originator:     peter@dataloss.nl
>Release:        1.3.14
$ 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
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)
useful# httpd &
[1] 75386
useful# jobs
[1]    Done                          httpd
useful# jobs

The actual process the shell spawned is gone.
Introduce an option to make apache not background. (options to do access or
errorlogging on stdout would be appreciated too, btw).
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> 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!     ]

View raw message