Date: Wed, 22 Jul 2009 22:33:02 -0400 From: Julian Zottl <jzottl@radiantnetworks.net> Cc: freebsd-questions@freebsd.org Subject: Re: limit to number of files seen by ls? Message-ID: <18b1f5d40907221933j1170bf9fm903dfc60fa2b26a3@mail.gmail.com> In-Reply-To: <EACC9988-E37E-4F5F-AC03-8E664E015C3C@identry.com> References: <EACC9988-E37E-4F5F-AC03-8E664E015C3C@identry.com>
next in thread | previous in thread | raw e-mail | index | archive | help
How are you using ls? I presume something along the lines of "ls -la | more". What does "sysctl fs.file-ma" and "sysctl kern.maxfiles" tell you? I've seen directories with 10000+ files. The only problem I've ever had with that many is using the rm command. In that case, you will need to use something like find ./ -type f -exec rm {}\; Take care, ---- Julian On Wed, Jul 22, 2009 at 8:01 PM, John Almberg <jalmberg@identry.com> wrote: > I seem to have run into an odd problem... > > A client has a directory with a big-ish number of jpgs... maybe 4000. > Problem is, I can only see 2329 of them with ls, and I'm running into other > problems, I think. > > Question: Is there some limit to the number of files that a directory can > contain? Or rather, is there some number where things like ls start working > incorrectly? > > -- John > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?18b1f5d40907221933j1170bf9fm903dfc60fa2b26a3>