Random TCP 3 second delay
Michael
michael at gameservice.ru
Thu May 12 10:19:06 UTC 2011
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
More information about the freebsd-net
mailing list