From owner-freebsd-fs@FreeBSD.ORG Fri Oct 14 18:35:39 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 BF4DF16A41F for ; Fri, 14 Oct 2005 18:35:39 +0000 (GMT) (envelope-from rebehn@ant.uni-bremen.de) Received: from antsrv1.ant.uni-bremen.de (antsrv1.ant.uni-bremen.de [134.102.176.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 521D243D58 for ; Fri, 14 Oct 2005 18:35:38 +0000 (GMT) (envelope-from rebehn@ant.uni-bremen.de) Received: from 213-172-120-154.dsl.aktivanet.de ([213.172.120.154]) by antsrv1.ant.uni-bremen.de with esmtpa (Exim 4.54 (FreeBSD)) id 1EQUP1-000Hw7-BZ; Fri, 14 Oct 2005 20:35:35 +0200 Message-ID: <434FFAD6.6000002@ant.uni-bremen.de> Date: Fri, 14 Oct 2005 20:37:10 +0200 From: Heinrich Rebehn User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050831 Debian/1.7.8-1sarge2 X-Accept-Language: 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> <434FEDC6.4040405@centtech.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 18:35:39 -0000 Nicolas KOWALSKI wrote: > Eric Anderson writes: > > >>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. > > > So, its a non-option, because we are only using Debian Sarge and > Solaris 9 UNIX workstations. :-( > For Debian Sarge, it is in am-utils (amd automounter). Since we are bit by the same problem - we have diskless Linux clients that mount their root fs from a FreeBSD server, which sometimes takes some 15 minutes - i will try fixmount next week. --Heinrich