Re: function modulename_child_exit in apache 2.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks a lot Tom
Anurag


From: Tom Evans <tevans.uk@xxxxxxxxxxxxxx>
To: users@xxxxxxxxxxxxxxxx
Cc: Anurag Gujral <anurag_gujral@xxxxxxxxx>
Sent: Thursday, November 13, 2008 6:10:40 AM
Subject: Re: function modulename_child_exit in apache 2.0

On Thu, 2008-11-13 at 04:49 -0800, Anurag Gujral wrote:
> Hi All,
>            I need to call function modulename_child_exit in apache
> 2.0 to free resources that are allocated in
> modulename_child_init. How should I  use that function so that it gets
> called only when child dies.

> Plz Comment

> Thanks
> Anurag
>

When you allocate resources, you should register a cleanup function for
them and tie it to the configuration pool.
See http://www.apachetutor.org/dev/pools and http://wiki.apache.org/httpd/ModuleLife

Cheers

Tom


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