[Samba] large smb.conf file

Bruno Ferreira morphine at digitalmente.net
Mon Oct 3 21:15:00 GMT 2005

Nathan Vidican wrote:

> [snip]
> Travis Knabe wrote:
>> I have about 5000 distinct shares defined in my smb.conf file.  As 
>> you can imagine it's quite large.
>> Everyone once in awhile all the smbd daemons ( in top ) go to a run 
>> state and pretty much bring the system to a halt.  The system is WAY 
>> oversized.  99.999% of the day samba runs fine.  We _THINK_ we've 
>> narrowed down the times when the smbd processes go crazy to a time 
>> when we're updating the smb.conf file.  Does this sound reasonable?  
>> Is there a better way to create the neccessary shares?
    I may be pointing out the obvious, but has he tried using the share 
copying commands in smb.conf so that Samba's parser doesn't have to read 
the definitions for each and every individual share?

    -- Bruno Ferreira

More information about the samba mailing list