[Samba] large smb.conf file

Jeremy Allison jra at samba.org
Mon Oct 3 20:23:10 GMT 2005


On Mon, Oct 03, 2005 at 07:43:51PM +0000, 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?

Can you do a gdb attach to an smbd in that state ? At that
point we can tell exactly what it's doing with a backtrace (bt)
command.

Jeremy.


More information about the samba mailing list