Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Apr 2004 18:41:30 +0200
From:      Harald Schmalzbauer <h@schmalzbauer.de>
To:        freebsd-current@freebsd.org
Cc:        Sean McNeil <sean@mcneil.com>
Subject:   Re: nfs server issues [No real help]
Message-ID:  <200404021841.35525.h@schmalzbauer.de>
In-Reply-To: <1080882894.5980.26.camel@server.mcneil.com>
References:  <1080882894.5980.26.camel@server.mcneil.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--Boundary-02=_/eZbA0PCeJH0Ggu
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Am Freitag, 2. April 2004 07:14 schrieb Sean McNeil:
> I have googled and seen a great deal of talk about FreeBSD nfs client
> issues, but haven't seen anything about server problems.  I've now tried

I also reported strange and easy to reproduce oddities but none was interes=
ted=20
and fixing/debugging this is much beyond my scope.
I also figured out that it makes a big differenc whether I use tcp or udp.
If someone was interested helping to get FreeBSD back to NFS business I'd l=
ove=20
to help testing!
It's now really been a long time that >5.1 has no working NFS.

=2DHarry

> with a Solaris 2.7, HPUX 11.11, and 2 different Linux boxes and I get
> the same thing happening...
>
> If I mount an nfs partition on any of the above mentioned machines,
> everything works fine until I try to copy a bunch of files over.  For
> instance, if I mount it at /mnt and do
>
> cd /localdisk; (cd /mnt; tar cf - .) | tar xvf -
>
> It will lock up hard.  Linux is saying
>
> nfs: task xxxx can't get a request slot
>
> It is only the one mount point that is effected, though.  The same
> machine is serving accounts from ldap and is providing /home.  All that
> still works!
>
> My (I think relevant) processes look like:
>     0    46     0   0   8  0     0   12 -      SL    ??    0:00.00  (nfsi=
od
> 0) 0    47     0   0   8  0     0   12 -      SL    ??    0:00.00  (nfsiod
> 1) 0    48     0   0   8  0     0   12 -      SL    ??    0:00.00  (nfsiod
> 2) 0    49     0   0   8  0     0   12 -      SL    ??    0:00.00  (nfsiod
> 3) 0   480     1   0   4  0  1368  944 select Ss    ??    0:00.04 nfsd:
> master 0   482   480   0   4  0  1252  764 -      S     ??    0:00.67 nfs=
d:
> server 0   483   480   0   4  0  1252  764 -      S     ??    0:00.19 nfs=
d:
> server 0   484   480   0   4  0  1252  764 -      S     ??    0:00.01 nfs=
d:
> server 0   485   480   0   4  0  1252  764 -      S     ??    0:00.00 nfs=
d:
> server
>
>     0  1018     1   0  76  0 263620 1044 select Ss    ??    0:00.08
> /usr/sbin/rpc.statd 0  1023     1   0  76  0  4356 3084 select Ss    ??  =
=20
> 0:00.08 /usr/sbin/rpc.lockd 1  1024  1023   0   4  0  4328 3060 select S =
 =20
>  ??    0:00.02 /usr/sbin/rpc.lockd
>
> I thought it was the lock daemon, but I disabled it and the problem
> still occurs.
>
> I just tried the following to see if I could get anything else of
> interest:
>
> 1) On Linux box, I did an "ls -lR" on my /home/sean directory (many
> files).
> 2) On FreeBSD box, watched CPU usage of nfs processes and noticed which
> was serving the request.
> 3) Waited and output finally hung.
> 4) used gdb to break into the process:
>
> 	(gdb) bt
> 	#0  0x280c934f in nfssvc () from /lib/libc.so.5
> 	#1  0x0804aaa2 in close ()
> 	#2  0x08049549 in close ()
> 	#3  0x08048bb9 in close ()
>
> 5) Noticed Linux box spitted out (server is my FreeBSD'd name)
>
> 	nfs: server server is not responding
>
> 6) quit gdb and Linux box said
>
> 	nfs: server server OK
>
> 7) access still hung and the ls command cannot be stopped with ^C.
>
> Please let me know what I can do to help track down this problem.
>
> Cheers,
> Sean
>
>
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"

--Boundary-02=_/eZbA0PCeJH0Ggu
Content-Type: application/pgp-signature
Content-Description: signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQBAbZe/Bylq0S4AzzwRArfEAKCMoOh0i8m904SayjmvxtrGcFY+pQCfU2gy
opcznEw7+65RGyicA4SsFyc=
=6RHl
-----END PGP SIGNATURE-----

--Boundary-02=_/eZbA0PCeJH0Ggu--



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