httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From codefruit <>
Subject Re: [users@httpd] mod_proxy ProxyPass max parameter and ThreadsPerChild
Date Wed, 07 Dec 2011 17:41:17 GMT

Thank you for the information. I have one more question on this subject....

You say that each server process has its own mod_proxy proxy pools
(all with the same config).

So, if I configure my mod_proxy like so:

ProxyPass /examples max=10

And there happen to 5 server child processes running, does that mean
that each of process has a max of 10, so, in total, 50 concurrent
connections will be allowed through to the backend?


> ---------- Forwarded message ----------
> From: Rainer Jung <>
> To:
> Date: Sun, 04 Dec 2011 19:46:31 +0100
> Subject: Re: [users@httpd] mod_proxy ProxyPass max parameter and ThreadsPerChild
> On 29.11.2011 11:29, codefruit wrote:
>> Hello,
>> I am using Apache 2.2 with the MPM worker. I have some questions about
>> the interaction between the 'max' parameter that can be added to a
>> mod_proxy ProxyPass configuration line and the MPM worker
>> ThreadsPerChild value.
>>  From reading the docs, my understanding is that if I add a 'max'
>> key/value to a ProxyPass line then the max should only be less than or
>> equal to ThreadsPerChild.
>> 1) Is this correct?
> Yes.
>> 2) If I do not add a max value to the ProxyPass line is the maximum
>> amount of connections allowed through still subject to the limit of
>> ThreadsPerChild?
> Docs say: The default for this limit is the number of threads per process in the active
MPM. In the Prefork MPM, this is always 1, while with other MPMs it is controlled by the ThreadsPerChild
> So: "yes"
>> 3) If I have a configuration such as:
>> ProxyPass /examples max=10
>> ProxyPass /docs max=100
>> ThreadsPerChild=150
>> Can both ProxyPass connection pools use the same server child process
>> (for example a single one with 150 threads)?
> Yes.
> Incoming requests are mapped to threads, threads work on the request and finally need
to contact a backend server depending on configuration and URL. At that point in time they
try to get a backend connection from the pool.
> Each process has its own proxy pools (all with the same config).
> Regards,
> Rainer

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message