[erlang-questions] tcp_close during async accept

Oscar Hellström <>
Wed Jul 8 12:48:41 CEST 2009


There might be syn cookies involved as well? That way you kind of
believe (in the client) that the connection is successful, or at least
that's how I understand it. I also don't know about OSX, but at least in
Linux you can reconfigure most of this with sysctl...

Trevor Woollacott [ MTN - Innovation Centre ] wrote:
> I'm not sure for Max OSX, but I think it is 128. Although that wouldn't explain why only half of your 700 connections are successful. Maybe there is a fudge factor involved in the calculation of the actual backlog value, or maybe the listener process isn't accepting connections quickly enough?
> I know for Windows Sockets 1.1 the maximum value is 5, and some versions of Windows (such as Windows 2000 Server) allow a backlog value of up to 200.
>
>   
>> -----Original Message-----
>> From: Joel Reymont [mailto:]
>> Sent: Tuesday, 07 July 2009 04:31 PM
>> To: Trevor Woollacott [ MTN - Innovation Centre ]
>> Cc: Erlang Users' List
>> Subject: Re: [erlang-questions] tcp_close during async accept
>>
>>
>> On Jul 7, 2009, at 12:10 PM, Trevor Woollacott [ MTN - Innovation
>> Centre ] wrote:
>>
>>     
>>> What OS are you using? Maybe the maximum backlog on your platform is
>>> less than 1024?
>>>       
>> Mac OSX 10.5.7
>>
>> ---
>> Mac hacker with a performance bent
>> http://www.linkedin.com/in/joelreymont
>>     
>
>
> NOTE: This e-mail message is subject to the MTN Group disclaimer see http://www.mtn.co.za/SUPPORT/LEGAL/Pages/EmailDisclaimer.aspx
>
> ________________________________________________________________
> erlang-questions mailing list. See http://www.erlang.org/faq.html
> erlang-questions (at) erlang.org
>
>   


-- 
Oscar Hellström, 
Office: +44 20 7655 0337
Mobile: +44 798 45 44 773
Erlang Training and Consulting Ltd
http://www.erlang-consulting.com/



More information about the erlang-questions mailing list