From owner-freebsd-hackers Tue May 20 10:43:35 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id KAA15068 for hackers-outgoing; Tue, 20 May 1997 10:43:35 -0700 (PDT) Received: from nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA15062 for ; Tue, 20 May 1997 10:43:31 -0700 (PDT) Received: from herring.nlsystems.com (herring.nlsystems.com [10.0.0.2]) by nlsystems.com (8.8.5/8.8.5) with SMTP id SAA02946; Tue, 20 May 1997 18:42:28 +0100 (BST) Date: Tue, 20 May 1997 18:42:28 +0100 (BST) From: Doug Rabson To: "Brian N. Handy" cc: hackers@freebsd.org Subject: Re: Max # of files with NFS? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Tue, 20 May 1997, 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'. > > > > [...] > > Doug writes: > > >I just listed a directory with 7800 files it to check. I can't (yet) test > >directly with DU 4.0 but if you could get a packet trace, it might help > >diagnose what is happening. Run 'tcpdump -vv -s300 port nfs' while you > >try to do the 'ls'. > > Boy, I don't get it...but it works today??? I had to recompile my kernel > with the bpf stuff, then I rebooted, mounted the directory, ran tcpdump > and did the ls and everything worked fine. > > I'll keep an eye on this, though, and if I can figure out how to recreate > the problem I'll come on back with more info. Try modifying the directory at the server end while the client sits in a while loop re-listing the directory. If something odd is happening with the directory cookies, that might provoke a response. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891