Hi, 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 http://backend.example.com/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? Thanks, Jamie > ---------- Forwarded message ---------- > From: Rainer Jung <rainer.j...@kippdata.de> > To: users@httpd.apache.org > 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 directive. > > So: "yes" > >> 3) If I have a configuration such as: >> >> ProxyPass /examples http://backend.example.com/examples max=10 >> ProxyPass /docs http://backend.example.com/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:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org