From owner-freebsd-hackers Tue May 20 00:22:50 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA19548 for hackers-outgoing; Tue, 20 May 1997 00:22:50 -0700 (PDT) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id AAA19543 for ; Tue, 20 May 1997 00:22:48 -0700 (PDT) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id JAA29439; Tue, 20 May 1997 09:22:46 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.8.5/8.8.5) id JAA04551; Tue, 20 May 1997 09:10:30 +0200 (MET DST) Message-ID: <19970520091030.RY34905@uriah.heep.sax.de> Date: Tue, 20 May 1997 09:10:30 +0200 From: j@uriah.heep.sax.de (J Wunsch) To: hackers@FreeBSD.ORG Cc: handy@sag.space.lockheed.com (Brian N. Handy) Subject: Re: Max # of files with NFS? References: X-Mailer: Mutt 0.60_p2-3,5,8-9 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: ; from Brian N. Handy on May 19, 1997 19:41:39 -0700 Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As Brian N. Handy wrote: > So I have this NFS-mounted directory with 287 files in it. If I cd to > that directory and do an 'ls', that terminal hangs. Top says it's in > 'getblk'. > > The server is a DEC alpha running DU 4.0. The client is running > 2.2-STABLE. > > Is this a problem with too many files? I'm not sure what else it could > be. Close, i think. You could tcpdump the connection to learn more. I assume that's another incarnation of the dreaded NFSv3 READDIR problem. The server is probably handing out a new cookie verifier on each call, so the client endlessly retries to read the directory from the beginning. I'm sure Doug might tell you more about this. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)