Date: Tue, 22 Mar 2005 10:45:06 -0800 From: ray@redshift.com To: Robert Gogolok <robertgogolok@web.de> Cc: freebsd-net@freebsd.org Subject: Re: FIN_WAIT_2 Message-ID: <3.0.1.32.20050322104506.00a8b8b8@pop.redshift.com> In-Reply-To: <424065D8.3030407@web.de> References: <3.0.1.32.20050322102130.00a7be40@pop.redshift.com> <3.0.1.32.20050322102130.00a7be40@pop.redshift.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Robert, I was actually referring to the keepalive setting in httpd.conf :-) But yes, you can change the sysctl setting also. I believe that will have a positive impact on the server. I don't have any first hand experience with it however. What do you have in httpd.conf ? Ray At 07:37 PM 3/22/2005 +0100, Robert Gogolok wrote: | Hi Ray, | Thanks for answering. | | ray@redshift.com wrote: | > Do you have keepalive on ? That might be it. Usually on a busy site it's | > better to turn keepalive off. You might try that and see if the number of | > fin_wait's go away. | # sysctl -a | grep keep | net.inet.ip.keepfaith: 0 | net.inet.ip.fw.dyn_keepalive: 1 | net.inet.tcp.keepidle: 7200000 | net.inet.tcp.keepintvl: 75000 | net.inet.tcp.keepinit: 75000 | net.inet.tcp.always_keepalive: 1 | net.inet6.ip6.keepfaith: 0 | | I see that keepalive starts after 2 hours(?) (net.inet.tcp.keepidle), | but what would disable it? I guess always_keepalive=0. | | | Robert | |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.1.32.20050322104506.00a8b8b8>