[Samba] memory consumption with treesize pro and cifs shares

Cy Mike cymike at gmail.com
Mon Jul 29 11:57:31 MDT 2013

More info on this:

The NAS running FreeBSD has 48GB RAM, same as the test NAS we are
duplicating the error on. Both machines see this error with 3.6.9 Samba.
The initial try at duplicating the error didn't produce it. It wasn't until
we increased the amount of files in the CIFS share that we were able to
duplicate it. Number of files is in the millions. Drive freespace is large
on the test machine and the error still occurs. According to LindaW here,
the test hasn't been reproduce yet using Samba 3.6.16, so we're looking
into another test on our box using the updated version.

Has anyone else encountered an issue like with using TreeSize Pro? Does
anyone need more information to help sort this out? We'll be running
additional tests today looking for a solution and I will post back more on
this later.


On Tue, Jul 23, 2013 at 6:59 PM, Cy Mike <cymike at gmail.com> wrote:

> Hi everyone. I'm looking to solve an issue with Samba on a NAS being
> accessed with TreeSize Pro. Using that program to scan through millions of
> files is eating up memory on swap and eventually crashing the system. It's
> scanning mounted CIFS shares on the NAS running TrueNAS with samba version
> 3.6.9
> We have a test case and have been able to replicate the issue on another
> machine.
> The "solution" right now is to simply not run TreeSize Pro. Not the best
> of plans.
> In the meantime, I'm going to continue to check the usual manuals/google
> sources to see if I can find anything. I haven't as yet and am short on
> time with this. Basically looking to see if this is an actual bug that
> might require a patch/upgrade, or something I can fix with some tuneables.
> Thanks,
> Mike

"that's not a bald head, that's a solar panel for a dumbass machine" - jon
stewart 5/9/12

More information about the samba mailing list