2011/5/12 Michael <mich...@gameservice.ru> > 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? >
Hello Michael, net.inet.tcp.finwait2_timeout and net.inet.tcp.fast_finwait2_recycle are your friends. -- Good, fast & cheap. Pick any two. _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"