[Samba] Too many smbd processes?
Joel Hammer
Joel at HammersHome.com
Tue Mar 4 11:30:26 GMT 2003
What is in your smb script?
What does smbstatus show?
What happens when you forget the fancy startup script and just use:
smbd -D
nmbd -D
Here is all I use to start my daemons:
#!/bin/bash
case "$1" in
start)
killall smbd
killall nmbd
/usr/local/samba/bin/smbd -D
/usr/local/samba/bin/nmbd -D
;;
stop)
killall smbd
killall nmbd
;;
reload)
kill -SIGHUP `cat /usr/local/samba/var/locks/smbd.pid`
kill -SIGHUP `cat /usr/local/samba/var/locks/nmbd.pid`
;;
*)
echo Usage:
echo start stop reload
;;
esac
exit 0
Joel
On Tue, Mar 04, 2003 at 11:47:48AM +0100, Maarten Buiter wrote:
> Hello People,
>
> /etc/rc.d/init.d/smb status yields the following output:
>
> smbd (pid 31224 31209 31102 31098 31077 31069 31056 3237 3171 3154 3147
> 3144 3131 3129 3128 3124 3119 3091 3077 2590 2582 2564 2491 2468 1964)
> is running...
> nmbd (pid 31062 31061) is running...
>
> In total 25 smbd's and 2 nmbd's, while only five or six users actually
> use the samba-server.
>
> This many processes causes my system to have a load around 19 to 25,
> which prevent
> my sendmail from sending mail.
>
> Does anybody know if this is normal samba behaviour? Restarting Samba
> doesn't seem
> to limit the number of servers.
>
> Kind regards,
>
> Maarten
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
More information about the samba
mailing list