Hello,

*problem*:
some connections were lost when there are too many clients were trying to 
connect to the server during a short time, for example, send out about 10k 
connections during about 3 seconds.

*findings:*
as i know, all the connections would be accepted in method doReadMessage of 
NioServerSocketChannel, and, in fact, we did find out that some connections 
were not accepted from there, but, actually, the TCP have been created 
successfully with completed 3-ways handsharke. 
meanwhile, we found, to some degree, we can avoid this issue by increasing 
the option SO_BACKLOG of ChannelOption, currently, we set it with 8, should 
be a little bit low.

*questions:*
how to handle this issue? as i know, the client should receive connection 
refused error when the number of the connections exceed the SO_BACKLOG, but 
the client didn't receive it.

Thanks,
Gary

-- 
You received this message because you are subscribed to the Google Groups 
"Netty discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/netty/3f5aae56-1fd6-4e0b-8a6e-cfed66653c1e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to