So, at this point, what would be the recommended Apache release / MPM model to 
load on a fresh install? I’m getting ready to build a new VM, and I want to go 
with the best option. :)

D


> On Jul 15, 2015, at 4:01 AM, Massimo Manghi <[email protected]> wrote:
> 
> I forgot to advertise that code for mod_rivet in trunk now builds also for 
> Apache 2.2. I just changed the way the APR thread id is fetched.
> 
> Apache controlled threads now allocate data from the thread pool by calling 
> apr_thread_pool_get and set up a clean up procedure to dispose of the 
> resources allocated on that memory (critical points are a mutex and condition 
> variable). I expected this pool to have the same lifespan of the thread that 
> owns it but to my surprise I noticed it's deleted every now and then. This 
> mechanics implies a certain overhead in the request handling as the mutex and 
> condition variable pair used to communicate with the pool of threads have to 
> be recreated every time a single thread's memory pool is recreated.
> 
> For the time being I can't figure our a better way to handle this as MPM 
> controlled threads don't have a callback on which you can hook a cleanup 
> procedure
> 
> -- Massimo
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to