[Samba] large smb.conf file

Gerald (Jerry) Carter jerry at samba.org
Mon Oct 3 21:43:32 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bruno Ferreira wrote:
> 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?

I don't think it's actually the parser that's the problem
but the memory allocation and copying.




cheers, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDQaYEIR7qMdg1EfYRAuuAAJ9QiHcmc4S7XnThIwTbFN2NH7xgZACg0pEJ
FQJy9CyTUdv9OcJrBtMAWwE=
=NqEh
-----END PGP SIGNATURE-----


More information about the samba mailing list