From owner-freebsd-fs@FreeBSD.ORG Fri Oct 14 09:41:29 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 76CA316A420 for ; Fri, 14 Oct 2005 09:41:29 +0000 (GMT) (envelope-from Nicolas.Kowalski@imag.fr) Received: from imag.imag.fr (imag.imag.fr [129.88.30.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9CBB843D48 for ; Fri, 14 Oct 2005 09:41:28 +0000 (GMT) (envelope-from Nicolas.Kowalski@imag.fr) Received: from mail-veri.imag.fr (mail-veri.imag.fr [129.88.43.52]) by imag.imag.fr (8.13.0/8.13.0) with ESMTP id j9E9fPgS003964 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Fri, 14 Oct 2005 11:41:25 +0200 (CEST) Received: from corbeau.imag.fr ([129.88.43.162]) by mail-veri.imag.fr with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1EQM45-000417-8Y for freebsd-fs@FreeBSD.org; Fri, 14 Oct 2005 11:41:25 +0200 Received: from kowalski by corbeau.imag.fr with local (Exim 4.50) id 1EQM45-0005t4-5e for freebsd-fs@FreeBSD.org; Fri, 14 Oct 2005 11:41:25 +0200 To: freebsd-fs@FreeBSD.org References: <20051014160128.hev160v52ossokg0@wwws.cs.ait.ac.th> From: Nicolas KOWALSKI Date: Fri, 14 Oct 2005 11:41:25 +0200 In-Reply-To: <20051014160128.hev160v52ossokg0@wwws.cs.ait.ac.th> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: Nicolas Kowalski X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (imag.imag.fr [129.88.30.1]); Fri, 14 Oct 2005 11:41:25 +0200 (CEST) X-IMAG-MailScanner: Found to be clean X-IMAG-MailScanner-Information: Please contact the ISP for more information Cc: 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 09:41:29 -0000 on@cs.ait.ac.th writes: > Nicolas KOWALSKI wrote: >> Our FreeBSD 4.10 NFS server has some problems serving files by NFS on >> TCP (no problem with UDP) when the Linux (2.6) or Solaris (5.9) >> clients shut down in an unclean manner (power failure). When the >> clients try to mount the shares from the server after an >> unclean shutdown, the mount process hang during several minutes (delay >> is varying), then succeeds. > > That is just a wild guess, but NFS mounting would happen always at > the same stage of the boot, so maybe with the same source port > number and you could be facing the problem that the connection is > waiting for termination on the server (close_wait or fin_wait or > something)... Se source port in working example is 798 and source > port in failing example is 799 certainly not random. This is certainly right. So, what can I do to make the server not wait so long for the connection termination ? Is there a TTL parameter I can adjust somewhere ? Thanks, -- Nicolas