When running apps under suexec, mod_fcgid registers a child
cleanup with the pool of the process in order to switch ids 
in the child prior to calling suexec.

As processes accumulated, this cleanup was run multiple times
in new child processes (unnecessary and unsuccessful).  Once
the fork() for the child has occurred, no-op the child cleanup
so that it won't affect subsequent child processes; they will
have their own pool with the child cleanup registered.


git-svn-id: https://svn.apache.org/repos/asf/httpd/mod_fcgid/trunk@908237 13f79535-47bb-0310-9956-ffa450edef68
1 file changed