From owner-freebsd-fs@FreeBSD.ORG Fri Oct 14 17:41:49 2005 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DAC6816A423 for ; Fri, 14 Oct 2005 17:41:49 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E94243D49 for ; Fri, 14 Oct 2005 17:41:48 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id j9EHfm49091944; Fri, 14 Oct 2005 12:41:48 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <434FEDC6.4040405@centtech.com> Date: Fri, 14 Oct 2005 12:41:26 -0500 From: Eric Anderson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.11) Gecko/20050914 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Nicolas KOWALSKI References: <20051014160128.hev160v52ossokg0@wwws.cs.ait.ac.th> <20051014045824.V5343@odysseus.silby.com> <434FD761.3050506@centtech.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.82/1134/Fri Oct 14 03:07:44 2005 on mh2.centtech.com X-Virus-Status: Clean Cc: freebsd-fs@freebsd.org Subject: Re: FreeBSD NFS server not responding to TCP SYN packets from Linux/SunOS clients X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Oct 2005 17:41:50 -0000 Nicolas KOWALSKI wrote: > Eric Anderson writes: > > >>Nicolas KOWALSKI wrote: >> >>>Mike Silbersack writes: >>> >>> >>>>Actually, there may be a quick fix for this specific machine. If >>>>you set net.inet.tcp.keepidle to 1 minute (60*whatever kern.hz is), >>>>that'll cause keepalive packets to be sent every minute to an idle >>>>connection, rather than every 2 hours. That would kill the stuck >>>>connections much quicker. > > >>>Unfortunately, this does not work as expected. I just tested with >>>my workstation (Linux 2.6), with NFS filesystems mounted with TCP; >>>when the station rebooted abruptely, mounting the same NFS >>>filesystems hung more than 1 minute (15 minutes just now). During >>>this hang, I saw on the server, using netstat, the nfsd process >>>related to my workstation in ESTABLISHED state. >> >> >>Man fixmount? > > > This is a FreeBSD-only command apparently. I did not find it on Linux > or Solaris. It could have been useful, by calling it before NFS > filesystems are mounted on clients, yes. It's available on Fedora Core 2 and 3 at least. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------