|
[
Permalink
| « Hide
]
Vlad Khorsun added a comment - 04/Oct/08 09:17 AM
It seems that if listener process is busy (creating new work process) when few connection attempt is already in some internal Windows queue than Windows may drop some connection attempts.
All fork (CreateProcess) calls moved to additional dedicated thread. This allows listener to accept new connection almost immediately after previous. This can't give full guarantee that under very high load all connections would be accepted but improved things a lot. Currently i see no failures with up to 300 simultaneous connection attempts and less than 10 failures with 500 attempts. Before this fix even with 50 cincurrent connection attempts i seen 10-30 failures.
will it be backported to 2.1.x ?
It is not a regression therefore i didn't commit it to the 2.1.2...
If there will be decision to backport it - i would have no problem with it ;) My suggestion is to release v2.1.2 "as is" and revisit this ticket for v2.1.3 if anybody would report us about being affected by this issue.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||