Re: 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 Rajesh,

This question would be better on the modules-dev@xxxxxxxxxxxxxxxx mailing list.

http://httpd.apache.org/lists.html#modules-dev

-- 
noodl


On 26/02/2008, Rajesh Rao <4rajeshrao@xxxxxxxxx> wrote:
> 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
>
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[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]

  Powered by Linux