Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Oct 2005 14:24:35 +0200
From:      Nicolas KOWALSKI <Nicolas.Kowalski@imag.fr>
To:        freebsd-fs@freebsd.org
Subject:   [UPDATE] Re: FreeBSD NFS server not responding to TCP SYN packets from Linux/SunOS clients
Message-ID:  <Pine.LNX.4.64.0510171347100.5718@corbeau.imag.fr>
In-Reply-To: <vqou0fkw92s.fsf@obiou.imag.fr>
References:  <Pine.LNX.4.64.0510141021290.22064@corbeau.imag.fr> <20051014160128.hev160v52ossokg0@wwws.cs.ait.ac.th> <20051014045824.V5343@odysseus.silby.com> <vqou0fkw92s.fsf@obiou.imag.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 14 Oct 2005, Nicolas KOWALSKI wrote:

> Mike Silbersack <silby@silby.com> 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.

Thanks to Olivier, his suggestion to restart the nfsd processes after 
setting net.inet.tcp.keepidle makes the situation much better !

Now, this work as expected ; Linux and SunOS workstations do not hang 
more than a few seconds when mounting shares from the FreeBSD server 
after an unclean shutdown. I am still waiting for other problems to come 
up with this configuration, but after a few hours, it just looks really 
good. :-)

Many thanks to all !

Best regards,
-- 
Nicolas



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.64.0510171347100.5718>