httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Trawick" <traw...@gmail.com>
Subject Re: pool use/mutex initialization in util_ldap not thread safe?
Date Thu, 16 Mar 2006 14:12:15 GMT
On 3/16/06, Ruediger Pluem <rpluem@apache.org> wrote:
>
>
> On 03/16/2006 03:49 AM, Jeff Trawick wrote:
> > On 3/15/06, Brad Nicholes  wrote:
>
> >
> > That is really one pool globally but there is a mutex per server_rec.
> > So a thread handling a request for one vhost grabs the mutex and uses
> > the pool but that doesn't protect from a thread handling a request for
> > a different vhost which grabs a different mutex supposedly protecting
> > the same pool.
>
> Would it help to create sub-pools per server_rec from the config pool?

That sounds like a definite improvement, but I'm eager for LDAP gurus
to explain how pool growth is mitigated in the current design
(assuming thread safety) before jumping to a conclusion.

Mime
View raw message