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=7838>. 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=7838 Apache leaves shared memory segments and dies after unclean shutdown [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[EMAIL PROTECTED] Status|NEW |RESOLVED Resolution| |INVALID ------- Additional Comments From [EMAIL PROTECTED] 2002-04-25 15:38 ------- A few very good proposals have been made here, but unfortunately they are insufficient: 1) calling shmctl(new_m->shmid, IPC_RMID, NULL) right after calling shmat() -- This won't work because segments that are marked IPC_RMID can not be attached to in child processes. 2) calling shmctl($shmid, IPC_RMID, 0) before creating a new segment -- This is also problematic because this would allow a second instance of apache to remove the segment of another already-running apache. It is my understanding that the normal shutdown signals will call the cleanup routines and properly detach and remove the segment. If you are killing apache with SIGKILL then you're going to have to use ipcs/ipcrm to clean up those segments. For the above reasons I'm marking this bug as invalid, if you disagree please comment.