No, it does not in any way make it possible to limit the number of active sessions.
The backlog size does not change the number of connections that can be opened. At all.
/ Per Hedbor ()
Previous text:
2003-01-22 15:31: Subject: Re: Stdio.port listen() backlog again...
On Wed, Jan 22, 2003 at 10:40:03AM +0100, Henrik Grubbström (Lysator) @ Pike (-) developers forum wrote:
How would that improve anything? Other users would get connection refused instead of having to wait for a somewhat slower server. Some service is better than none.
If server is under heavy load, especially in case of DoS, it will protect the server and the system from complete overloading and/or using all available resources.
Also please think about some OS limitations - a thousands of open sockets may prevent the system from accepting _other_ connections, not only directed to the application itself.
And again - I already said that presence of backlog would allow to place artifical limits to number of active sessions, completely transparent to the application itself.
Regards, /Al
/ Brevbäraren