[Samba] large smb.conf file

Jeremy Allison jra at samba.org
Mon Oct 3 21:43:11 GMT 2005


On Mon, Oct 03, 2005 at 04:45:30PM -0500, Gerald (Jerry) Carter wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Jeremy Allison wrote:
> 
> >> We've considered having the parent smbd re-parse the configuration
> >> file into a tdb and the send a message to all the children that
> >> it the configuration changed.  At this point we could maintain
> >> a timestamp on a per service basis.  Or maybe even remove the need
> >> for the in memory services array altogether.
> >>
> >> The main design hurdle is variable substitution.
> > 
> > Or we could wait (mod) random timel < 5secs after noticing a
> > smb.conf change to spread out the load ?
> 
> 
> Yeah we could.   Simo made a change to the pcap_reload() code
> to do something similar with printers.  It's a band aid.
> Do you remember when tridge worked on this if it was the
> file i/o or the mem functions that were the bottleneck?

Band-aids can sometimes help :-). Especially if it's a small, non
critical wound :-).

Jeremy.


More information about the samba mailing list