[Samba] Maximum number of files per folder
simo
idra at samba.org
Tue Nov 13 02:08:57 GMT 2007
On Mon, 2007-11-12 at 17:39 -0800, Jeremy Allison wrote:
> On Mon, Nov 12, 2007 at 08:24:05AM +0100, lists at dieitexperten.de wrote:
> >
> > Hello list,
> >
> > we have a small NAS-Box here in our office, running Linux 2.6.13 and
> > Samba 3 (exactly version string is not avalilable for me at moment).
> >
> > Is there a limit, how many files samba will store in one folder? We
> > recognize a massive CPU-Load of the smbd-process, when accessing a
> > folder which stores round about 60 000 small text-files.
> >
> > Is this a samba-Limit or a bug? The kernel and samba is compiled by the
> > NAS-manufactur, so no cimpiler-options are available for me.
>
> There are no hard coded limits, only what the OS restricts.
> However, storing large numbers of files in a folder is a bad
> idea unless Samba is set up specially to do this. See here :
>
> http://us1.samba.org/samba/ftp/HOWTO/Samba-LargeDirectory-HOWTO
>
> for details.
IIRC ext3 has a (compile time changeable) limit of 32k files per dir by
default ...
Simo.
--
Simo Sorce
Samba Team GPL Compliance Officer <simo at samba.org>
Senior Software Engineer at Red Hat Inc. <ssorce at redhat.com>
More information about the samba
mailing list