[erlang-questions] tcp_close during async accept

Trevor Woollacott [ MTN - Innovation Centre ] Woolla_T@REDACTED
Wed Jul 8 12:45:23 CEST 2009


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:joelr1@REDACTED]
> 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


More information about the erlang-questions mailing list