From f3ddf96d9b86f47829e2839160f9b4c2ae4cb9f0 Mon Sep 17 00:00:00 2001
From: Jeff Trawick
As of Apache HTTP Server 2.1, the ability to use pooled connections to a backend
- server is available. Using the key=value
parameters it is
- possible to tune this connection pooling. The default for a Hard
- Maximum
for the number of connections is the number of threads per
- process in the active MPM. In the Prefork MPM, this is always 1, while with
- the Worker MPM it is controlled by the
-
Setting min
will determine how many connections will always
- be open to the backend server. Upto the Soft Maximum or smax
- number of connections will be created on demand. Any connections above
- smax
are subject to a time to live or ttl
. Apache httpd
- will never create more than the Hard Maximum or max
connections
- to the backend server.
In Apache HTTP Server 2.1 and later, mod_proxy supports pooled
+ connections to a backend server. Connections created on demand
+ can be retained in a pool for future use. Limits on the pool size
+ and other settings can be coded on
+ the key=value
parameters, described in the table
+ below.
Setting min
will determine how many connections to
+ the backend server will be retained after use. Up to the
+ Soft Maximum, or smax
, number of connections will be
+ created on demand. Any connections above smax
are
+ subject to a time to live, or ttl
. Apache httpd will
+ never create more than the Hard Maximum or, max
,
+ connections to the backend server.
The pool of connections is maintained per web server child
+ process, and the min
, max
, and
+ and smax
settings are not coordinated among all child
+ processes, except when only one child process is allowed by
+ configuration or MPM design.
smax
are subject to a time to live or ttl
.