Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 May 2011 13:01:23 +0300
From:      Michael <michael@gameservice.ru>
To:        freebsd-net@freebsd.org
Subject:   Random TCP 3 second delay
Message-ID:  <17710363528.20110512130123@gameservice.ru>

next in thread | raw e-mail | index | archive | help
Hello.

I'm  running  nginx  in  load balancing mode for java application with
around  400  requests/second.  For  every  request,  nginx  is doing a
HTTP/1.0  connection  without  keep alive to jetty. Several
times  per  minute this connection takes 3 seconds complete. I don't see
2 or 1 seconds  response from upstream, only 3 seconds. Listen backlog is not
overflowed.

I searched for this delay in google, and found similar problem in Linux:
http://kerneltrap.org/mailarchive/linux-net/2008/3/26/1264734/thread
http://kerneltrap.org/mailarchive/linux-net/2008/2/4/713224/thread

And Windows:
http://stackoverflow.com/questions/1875151/delay-in-multiple-tcp-connections-from-java-to-the-same-machine/1927486#1927486

Can you advice what should i tune in FreeBSD to fix this problem?


  

Michael




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17710363528.20110512130123>