Reputation: 470
If Apache reaches it's max number of connections, or it's max clients, how long will it wait, before trying again to connect any of the connections that couldn't connect? Or will it just drop the connection the first time and never try again? If it does wait, is there a setting for that?
Upvotes: 0
Views: 1335
Reputation: 6522
Apache will simply queue connections into its ListenBackLog. Then once a current connection is done, Apache will attempt to serve the oldest queued connection.
http://httpd.apache.org/docs/2.2/mod/mpm_common.html#listenbacklog
I think the TimeOut Directive does effect what happens with a connection in the ListenBackLog queue.
http://httpd.apache.org/docs/2.2/mod/core.html#timeout
If its been the timeout limit since a connection was queued, that connection is dropped.
Upvotes: 2