Return-Path: Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 13798 invoked by uid 500); 12 Feb 2003 20:45:21 -0000 Mailing-List: contact bugs-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: "Apache HTTPD Bugs Notification List" Delivered-To: mailing list bugs@httpd.apache.org Received: (qmail 13785 invoked from network); 12 Feb 2003 20:45:20 -0000 Date: 12 Feb 2003 20:46:55 -0000 Message-ID: <20030212204655.21781.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: bugs@httpd.apache.org Cc: Subject: DO NOT REPLY [Bug 17022] New: - killing an apache parent run as "httpd -F" kills non-apache processes X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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