Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
Description
Leif mentioned in TS-2395 that he was having some problems related to proxy.config.net.listen_backlog.
According to this article:
http://blog.dubbelboer.com/2012/04/09/syn-cookies.html
the kernel takes the backlog value, adds 1 and rounds up to the nearest power of 2. It sets max queue length to the log2 value of this number.
This is why backlog of 511 results in max queue length of 9 (what you want) where as setting backlog to 512 expecting a max queue length of 9 you end up with 10.
The above article mentions that nginx and apache set a default backlog of 511.
Lets close this in favor of
TS-2523.