Help Please

NEZU, Kensuke nez at samba.gr.jp
Sun May 20 21:07:42 GMT 2001


I'd like to pointed out two things:

"Christopher R. Hertel" wrote:
> First, this really should be sent to Samba at samba.org, not to the
> Samba-Tech list.  I am glad to see that you also sent this to the
> sugj-tech at samba.gr.jp list, as they will have more experience with
> configuring Samba for your environment.

This should be posted samba-jp at samba.gr.jp; equivalent to Samba at samba.org
exactly, not whether samba-technical at samba.org nor sugj-tech at samba.gr.jp.

> Second...
> 
> > vi /etc/inetd.conf (backup in inetd.conf.010518)
> > to add lines:
> > netbios-ssn stream tcp nowait     root /usr/local/samba/bin/smbd smbd
> > netbios-ns  dgram  udp wait       root /usr/local/samba/bin/nmbd nmbd
> > swat        stream tcp nowait.400 root /usr/local/samba/bin/swat
> > swat
> 
> We generally recommend against running Samba from inetd.  Start the
> daemons at boot time and let them run.

Japan development member pointed out that running Samba as daemons is
convenience for controlled by swat etc.., but it isn't recommended
because of concerning about performance.

There are some reasons:
  - inetd is usually optimized with running operating system.
  - inetd is usually enougth small resources requirements for fork().
  - master smbd/nmbd (invoked at boot time) always inclease their
    resources, and become 'fat process.' It causes fork() cost higher.

--
----------
Kensuke Nezu, nez at samba.gr.jp
 Auditor, Samba Users Group in Japan




More information about the samba-technical mailing list