Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 May 1997 18:42:28 +0100 (BST)
From:      Doug Rabson <dfr@nlsystems.com>
To:        "Brian N. Handy" <handy@sag.space.lockheed.com>
Cc:        hackers@freebsd.org
Subject:   Re: Max # of files with NFS?
Message-ID:  <Pine.BSF.3.95q.970520184126.1203A-100000@herring.nlsystems.com>
In-Reply-To: <Pine.OSF.3.96.970520102638.4856A-100000@sag.space.lockheed.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.970520184126.1203A-100000>