[Samba] max smbd processes

Stan Hoeppner stan at hardwarefreak.com
Wed Jan 27 20:16:43 MST 2010

Jeremy Allison put forth on 1/27/2010 7:20 PM:
> On Wed, Jan 27, 2010 at 06:21:36PM -0600, Stan Hoeppner wrote:

>> I noticed in the documentation I quoted earlier something about running Samba
>> from inetd.  Is this (easily) doable?  Would running from inetd be advantageous
>> in my low resource consumption scenario, processes exiting after a period of
>> inactivity?  Or would this cause more problems than it would solve?
> Should work. Log a bug if it doesn't. It will also prevent the
> backend printer smbd from running as well.

I'd never dug into inetd.conf before today.  Luckily I've got smbd working via
inetd now.  I didn't configure nmbd in inetd as I don't really need browsing.  I
have netbios disabled everywhere anyway so it's of little use.

So, this is great, exactly what I was looking for.  When I click my mapped
drive(s) in Windows, a single smbd process fires on the Debian host, and it
works, just as it should.

I've not rebooted the system since making the inetd changes, merely killing
inetd with -HUP to reload its config.  The Samba init script is still going to
be run during the next boot as I haven't monkeyed with the rcX.d directories or
anything.  I set RUN_MODE="inetd" in the /etc/init.d/samba script.  Will that
change by itself keep the script from launching the normal set of daemon
processes or is there something else I need to do to prevent this and have inetd
handle it all?

>> P.S. We briefly met once a few years ago when you were in St. Louis.  You
>> stopped by Whitfield School to troubleshoot an issue with the AD code.  I was
>> the sysadmin there at the time.  You were working for Novell at that time.
> Oh that's great ! I am actually wearing my green Whitfield School fleese
> right now ! It's one of my favourite items of clothing :-).

I guess that clothing is better than the name it bears.  Do you wear any of your
Novell clothing?  If not, you'll understand why I no longer wear any of my
Whitfield clothing. ;)  However, I'm glad I was working there at that time, as
it offered me the rare opportunity to meet one of the great wizards in the FOSS
realm. ;)  I must admit I haven't kept tabs on you since you left Novell and
landed at Google.  I just recently joined the samba list (should have long ago).
 I noticed the listserv seems to be hosted in Utah.  Are you still living in the
mountains or did you migrate to the Bay Area?  Novell has its problems, but one
has to admit they picked a spot with one heck of view for their HQ.  I was there
for Brainshare '07.  The view of those mountains almost made me want to move
there.  Then I came to my senses when taking the local religion factor into
account. ;)  Sorry I'm getting OT.  I guess we could pick up the reminiscing off


More information about the samba mailing list