DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39311>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39311 Summary: Apache Crashes On several Graceful Restart requests coinciding in time with lot's of HTTP-requests Product: Apache httpd-2 Version: 2.0.50 Platform: PC OS/Version: FreeBSD Status: NEW Severity: major Priority: P2 Component: Core AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] When several Graceful Restart requests (in my case, due to Log rotaiton) coincide with many HTTP-requests Apache crashes with the following message in error log: [Thu Apr 13 13:03:40 2006] [notice] Graceful restart requested, doing restart [Thu Apr 13 13:03:40 2006] [emerg] (2)No such file or directory: Couldn't initialize cross-process lock in child [Thu Apr 13 13:03:41 2006] [notice] Apache/2.0.50 (FreeBSD) PHP/4.3.6 configured -- resuming normal operations [Thu Apr 13 13:03:41 2006] [alert] Child 99131 returned a Fatal error...\nApache is exiting! It seems to be race condition and heavily reproducible. More detailed description is provided on: http://mail-archives.apache.org/mod_mbox/httpd-dev/200403.mbox/% [EMAIL PROTECTED] We updated server to version 2.0.55, but source code analysis (file /server/mpm/prefork/prefork.c), reviewing of CHANGES file and bugzilla shows that bug is unfixed Our Server OS is FreeBSD 4.9; Apache is running standart config with 6 virtual hosts The simpliest path to patch is to change line 489 of /server/mpm/prefork/prefork.c (v 2.0.55) from clean_child_exit(APEXIT_CHILDFATAL); to clean_child_exit(APEXIT_CHILDSICK); I'm not Unix programmer, so didn't check the effect, consider it a suggestion -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
