Mailing List Archive

[Bug 7838] - Apache leaves shared memory segments and dies after unclean shutdown
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

jerenkrantz@apache.org changed:

What |Removed |Added
----------------------------------------------------------------------------
Summary|Apache leaves shared memory |Apache leaves shared memory
|segments and dies gafter |segments and dies after
|unclean shutdown |unclean shutdown



------- Additional Comments From jerenkrantz@apache.org 2002-04-15 05:41 -------
This is one of the main drawbacks of using System V SHM. Try using AcceptMutex
pthread if your platform supports it (Solaris certainly does). You may also try
"flock" or "fcntl" if your OS supports those values. We can attempt to try to
clean up certain shutdown paths, but I'm not sure we can catch everything.

The reason we do not want to delete the segment on initialization is that doing
so prevents third-party modules (such as mod_perl which relies on this, AIUI)
from attaching to the scoreboard externally.

Also fix typo in bug summary.