tcp_close during async accept

Jim Morris wolfmanjm@REDACTED
Wed Jul 8 22:23:13 CEST 2009


Oh BTW my server is running on a recent Linux Kernel...

Erlang R13B (erts-5.7.1) [source] [smp:2:2] [rq:2] [async-threads:10]
[hipe] [kernel-poll:true]

So maybe it is an OS/X thing?

On Jul 8, 9:27 am, Joel Reymont <joe...@REDACTED> wrote:
> On Jul 8, 2009, at 4:19 PM, Jim Morris wrote:
>
> > Are you testing client and server on same machine?
>
> Yes.
>
> > if not are they on
> > the same network? Is there something in between that is doing TCP SYN
> > attack mitigation?
>
> I believe I saw the same effect on Amazon EC2.
>
> > One thing I did find is my tester client had to have a very short
> > delay between the tcp opens, around 10ms was enough to significantly
> > speed up the test.
>
> I'm reconnecting after a random delay when this happens. I was  
> wondering why it's a successful connection on the client side and then  
> a tcp_close since it's not even getting to the Erlang accept on the  
> server side.
>
>         Thanks, Joel
>
> ---
> Mac hacker with a performance benthttp://www.linkedin.com/in/joelreymont
>
> ________________________________________________________________
> erlang-questions mailing list. Seehttp://www.erlang.org/faq.html
> erlang-questions (at) erlang.org


More information about the erlang-questions mailing list