Custom modules cleanup handler not being invoked in apache 2.0.59
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Hi,
I'm working with a custom apache module that needs to cleanup on child exit. Under a steady load (with about 25-30 httpd worker processes), the handler registered for apr_pool_cleanup_register does not get invoked after some time. Initially, the exit function registered is called for when every child exits. After a certain point, the module in each worker thread processes a few requests and then quits in the middle of processing, apparently normally, as no messages are logged in the error_log. From this point on, every child process exits after processing varying number of requests, without calling the registered exit function.
In the absence of apr_pool_cleanup_register operation, the module works as expected for extended period of time.
Has anyone encountered any problems with using apr_pool_cleanup_register to register handler for per child exit? Are there any other options for doing cleanup operations when a child process exits?
Thanks
[Index of Archives]
[Open SSH Users]
[Linux ACPI]
[Linux Kernel]
[Linux Laptop]
[Kernel Newbies]
[Security]
[Netfilter]
[Bugtraq]
[Squid]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Samba]
[Video 4 Linux]
[Device Mapper]