httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-frederic Clere <jfcl...@gmail.com>
Subject Re: httpd-proxy-scoreboard
Date Wed, 02 Aug 2006 15:53:44 GMT
Mladen Turk wrote:

> Jean-frederic Clere wrote:
>
>> Hi,
>>
>> I am trying to get the slotmem persistent (because for the moment it 
>> didn't persist even a graceful restart).
>> So I have a question:
>> - Is there a way to have a pool in a module that will only be cleaned 
>> up when httpd stops?
>>
>
> I suppose you should do that like its done for scoreboard,
> by adding a hook to core.c
>
> ap_hook_pre_mpm(ap_create_scoreboard, NULL, NULL, APR_HOOK_MIDDLE);

Not easy: once I have prevented the cleanup I have to find back the 
shared memory because the module has been unloaded and reloaded.

Cheers

Jean-Frederic

>
>
> Regards,
> Mladen.
>
>


Mime
View raw message