开发者

What is the retry interval for Apache once it has hit it's max connections?

开发者 https://www.devze.com 2023-03-11 09:24 出处:网络
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 j

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?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号