2 ms·
The connlimit only affects simultaneous connections, and they all should be handled relatively quickly. It's important to understand connlimit will cause peopl
by ck2 14y ago
The connlimit only affects simultaneous connections, and they all should be handled relatively quickly.
It's important to understand connlimit will cause people to queue, not to get blocked, and if 20 people are connecting all at the very exact millisecond from the same ip, well it cannot hurt to queue them for server stability.
- zorlem 14y agoI agree that having a simultaneous connection limit is a good safeguard. I was just noting that simply limiting the simultaneous connections to eg. 20, without considering all side-effects could lead to a world of hard-to-diagnose-and-reproduce problems and frustrated customers. HTTP Keep-alive connections play a big role in the number of connections as well so this should be considered when choosing the number.