Re: nfs server issues [No real help]

From: Harald Schmalzbauer <h_at_schmalzbauer.de>
Date: Fri, 2 Apr 2004 18:41:30 +0200
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 interested 
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 love 
to help testing!
It's now really been a long time that >5.1 has no working NFS.

-Harry

> 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  (nfsiod
> 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 nfsd:
> server 0   483   480   0   4  0  1252  764 -      S     ??    0:00.19 nfsd:
> server 0   484   480   0   4  0  1252  764 -      S     ??    0:00.01 nfsd:
> server 0   485   480   0   4  0  1252  764 -      S     ??    0:00.00 nfsd:
> 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    ??   
> 0:00.08 /usr/sbin/rpc.lockd 1  1024  1023   0   4  0  4328 3060 select S   
>  ??    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_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"

Received on Fri Apr 02 2004 - 06:41:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:49 UTC