On Thu, Mar 13, 2008 at 03:03:24PM +0100, Marcello Romani wrote:
> >I am being asked to determine the feasibility of serving hundreds
> >(300-400) of directories as individual shares instead of sharing a single
> >parent directory.

There is no limit in the number of shares Samba can serve.
If you list them all in smb.conf, you will however see
increased memory usage, because all share definitions are
loaded individually in all smbd processes. A single share
definition takes around 3k (we're working on reducing that).
So multiply the number of shares defined with the number of
concurrent clients and you might see some memory footprint.

So if you want to go REALLY large, in the order of
thousands, you might want to look at the user shares. If the
configuration options you can set in the user shares are
sufficient for your needs, then these are much more
memory-efficient because the definitions are only loaded in
smbd on demand.

Volker

Attachment: pgpKTatZ3fP1Q.pgp
Description: PGP signature

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to