httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: Apache module avoiding re-initialization of connection pool in every worker process
Date Wed, 01 Jan 2014 13:37:41 GMT
On Wed, Jan 1, 2014 at 7:45 AM, ksakhare <kiran.sakhare@gmail.com> wrote:
> Hi All
>
> Thanks for the replies. I appriciate the replies but the problem i am
> currently facing is when i initialize the connection pool in worker 1
> (httpd.exe child process), next request may spawn another worker (httpd.exe
> process). As these are two different process the connection pool is
> re-initialized in second worker.
>
> I would like to avail the connections initialized in first worker from
> second worker process. Is there a way, where i create this connection in
> global memory pool which is accessible across the worker process.

It's complex and most modules with connection pools don't bother with
it. If it was working with prefork, settle for a connection pool per
child which is easy.

Mime
View raw message