From owner-freebsd-net@FreeBSD.ORG Tue Mar 22 18:37:34 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 588B216A4CE for ; Tue, 22 Mar 2005 18:37:34 +0000 (GMT) Received: from uni-sb.de (uni-sb.de [134.96.252.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9041243D46 for ; Tue, 22 Mar 2005 18:37:33 +0000 (GMT) (envelope-from robertgogolok@web.de) Received: from cs.uni-sb.de (cs.uni-sb.de [134.96.252.31]) by uni-sb.de (8.13.3/2005020900) with ESMTP id j2MIbWSB014245; Tue, 22 Mar 2005 19:37:32 +0100 (CET) Received: from mail.cs.uni-sb.de (mail.cs.uni-sb.de [134.96.254.200]) by cs.uni-sb.de (8.13.3/2005011400) with ESMTP id j2MIbVBN014603; Tue, 22 Mar 2005 19:37:31 +0100 (CET) Received: from xantippe (xantippe.cs.uni-sb.de [134.96.240.13]) by mail.cs.uni-sb.de (8.13.3/2005020900) with ESMTP id j2MIbUs1011528; Tue, 22 Mar 2005 19:37:30 +0100 (CET) X-Authentication-Warning: mail.cs.uni-sb.de: Host xantippe.cs.uni-sb.de [134.96.240.13] claimed to be xantippe Received: from eugene.cs.uni-sb.de ([127.0.0.1]) [134.96.240.6] by xantippe with esmtp (Exim 3.35 #1 (Debian))id 1DDoFu-0001il-00; Tue, 22 Mar 2005 19:37:30 +0100 Message-ID: <424065D8.3030407@web.de> Date: Tue, 22 Mar 2005 19:37:12 +0100 From: Robert Gogolok User-Agent: Mozilla Thunderbird 1.0 (X11/20050313) X-Accept-Language: en-us, en MIME-Version: 1.0 To: ray@redshift.com References: <3.0.1.32.20050322102130.00a7be40@pop.redshift.com> In-Reply-To: <3.0.1.32.20050322102130.00a7be40@pop.redshift.com> X-Enigmail-Version: 0.89.6.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-net@freebsd.org Subject: Re: FIN_WAIT_2 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Mar 2005 18:37:34 -0000 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