TCP stack throughput

Joel Reymont <>
Mon Jul 4 16:29:46 CEST 2005


Mea culpa, I forgot about the backlog. Still, setting backlog to 1024  
and trying the test with 500 clients about 200 kick out with a reset  
connection. I tried increasing the backlog to 2048 but I get the same  
number of errors as with 1024.

     Thanks, Joel

On Jul 4, 2005, at 4:15 PM, Jani Launonen wrote:

> Have you tried to increase the backlog of the listening socket? It  
> defaults to 5 and you could increase it by using {backlog, 100}  
> option (could be other than 100) in gen_tcp:listen/2 -function?
> I haven't tested it, but just a quick idea.


More information about the erlang-questions mailing list