"max stat cache size" should be limited

Jeremy Allison jra at samba.org
Mon Nov 20 19:43:32 GMT 2006

On Mon, Nov 20, 2006 at 07:25:54PM +0100, Volker Lendecke wrote:
> On Mon, Nov 20, 2006 at 04:57:15PM +0100, Bjoern JACKE wrote:
> > during a data migration where I had to copy some million files from a
> > samba server I saw the smbd process growing to several hundred
> > megabytes after some hours of copying. It looks like the problem is
> > "max stat cache size" being 0 (unlimited) by default. If I set this to
> > a reasonable value like 100 (100*1024 byte) smbd doesn't grow
> > unlimited anymore. How about changing this to maybe 100 by default?
> I'd vote for that limit. Jerry? Jeremy?

Not sure what it should be - it really should be
changable based on system memory.


More information about the samba-technical mailing list