From owner-freebsd-current@FreeBSD.ORG Fri Apr 2 08:41:41 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4242F16A4CE for ; Fri, 2 Apr 2004 08:41:41 -0800 (PST) Received: from mail-in.m-online.net (mail-in.m-online.net [62.245.150.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id D5D6743D31 for ; Fri, 2 Apr 2004 08:41:40 -0800 (PST) (envelope-from h@schmalzbauer.de) Received: from mail.m-online.net (svr14.m-online.net [192.168.3.144]) by svr8.m-online.net (Postfix) with ESMTP id 552864BCAF; Fri, 2 Apr 2004 18:41:39 +0200 (CEST) Received: from sam.flintsbach.schmalzbauer.de (ppp-62-245-161-77.mnet-online.de [62.245.161.77]) by mail.m-online.net (Postfix) with ESMTP id 1C77A724F9; Fri, 2 Apr 2004 18:41:39 +0200 (CEST) Received: from cale.flintsbach.schmalzbauer.de (cale.flintsbach.schmalzbauer.de [172.21.1.251])i32GfZxw063656; Fri, 2 Apr 2004 18:41:35 +0200 (CEST) (envelope-from h@schmalzbauer.de) From: Harald Schmalzbauer To: freebsd-current@freebsd.org Date: Fri, 2 Apr 2004 18:41:30 +0200 User-Agent: KMail/1.6.1 References: <1080882894.5980.26.camel@server.mcneil.com> In-Reply-To: <1080882894.5980.26.camel@server.mcneil.com> X-Country: Germany X-Address: Munich, 80686 X-Phone2: +49 (0) 89 18947781 X-Phone1: +49 (0) 163 555 3237 X-Name: Harald Schmalzbauer X-Birthday: 06 Oktober 1972 MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_/eZbA0PCeJH0Ggu"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200404021841.35525.h@schmalzbauer.de> cc: Sean McNeil Subject: Re: nfs server issues [No real help] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Apr 2004 16:41:41 -0000 --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--