You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2003/05/20 17:35:15 UTC

DO NOT REPLY [Bug 20064] New: - child memory pool not cleaned up after child terminates

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=20064>.
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=20064

child memory pool not cleaned up after child terminates

           Summary: child memory pool not cleaned up after child terminates
           Product: Apache httpd-2.0
           Version: 2.0.45
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: perchild
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: Christopher.D.Knight@nasa.gov


The memory pool handed to the child_init hook is (apparently) supposed to be
freed up at/after the termination of the child process. In my testing, the
memory pool is not freed up at this time but at the shutdown of the main httpd
process. As the child_exit hook no longer exists, apparently adding a hook to
the memory pool is the "correct" way to get a callback when the child process
terminates. Personally, I'm unsure why child_exit was removed in 2.0 and would
rather use that than to rely on the freeing of the child memory pool.

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