httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 17022] New: - killing an apache parent run as "httpd -F" kills non-apache processes
Date Wed, 12 Feb 2003 20:46:55 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17022>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17022

killing an apache parent run as "httpd -F" kills non-apache processes

           Summary: killing an apache parent run as "httpd -F" kills non-
                    apache processes
           Product: Apache httpd-1.3
           Version: 1.3.27
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: alan@pair.com


My issue seems similar to what's described in bug #13328, but I found it to be a
problem with Apache 1.3.27, not with Apache 2.*

FreeBSD 4.6-stable
Apache 1.3.27

When running the apache server as root by calling bin/httpd directly with the -F
flag, signals sent to the apache parent process are propagated to that process's
parent, which is pid 1, init, on FreeBSD.  This causes FreeBSD to dump into
single user mode and require a reboot on console when it happens.

An example:
                                    
root@rasko# cd /usr/pair/apache/bin/
root@rasko# ./httpd -F -f /usr/pair/apache/conf/httpd.conf
^CConnection closed.

After httpd was run, I pressed ^C to send SIGINT to the process.  This signal
was erroneously propagated where it shouldn't have been, and all processes on
the server were killed off.  Examination of the console showed the server
dropped into single-user mode, and a reboot was required.

The same effect occurs with SIGINT and SIGTERM if they're sent via "kill" to the
parent httpd process by process ID.

Thank you very much.  Please tell me if you need any more information to look
into this.

Alan

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message