This is normal.
Samba spawns 1 smbd plus 1 for each connected client.
If it concerns you that these hang around you can set the deadtime
parameter in smb.conf to limit the time they remain live.
The default is deadtime=0 which means no automatic termination of unused
connections. Set this to the number of minutes
to wait before disconnecting an idle connection. I use deadtime=10 on a
server with ~100 print queues [no file shares...] used by ~800
clients with good results. Your mileage may vary...
Deadtime should go in the global section of smb.conf.
Paul Sanders
PC Network Technician
Univera Health Care
Excellus Health Services
paul.sanders@excellus.com
|---------+---------------------------->
| | John Schmerold |
| | <john@katy.com> |
| | Sent by: |
| | samba-admin@lists|
| | .samba.org |
| | |
| | |
| | 08/01/2002 07:51 |
| | AM |
| | |
|---------+---------------------------->
>---------------------------------------------------------------------------------------------------------------------------------------------|
|
|
| To: 'Samba List' <samba@lists.samba.org>
|
| cc:
|
| Subject: [Samba] Samba is having babies
|
>---------------------------------------------------------------------------------------------------------------------------------------------|
I start Samba as follows in /etc/rc.d/rc.local
[root@FS1 etc]# cat /etc/rc.d/rc.local | grep smb
service smb start
[root@FS1 etc]#
For reasons that aren't clear to me, additional processes are fired up:
[root@FS1 etc]# ps -Af | grep mbd
root 1197 1 0 Jul28 ? 00:00:00 smbd -D
root 1202 1 0 Jul28 ? 00:00:02 nmbd -D
root 1206 1202 0 Jul28 ? 00:00:00 nmbd -D
root 2507 1197 0 Jul29 ? 00:00:22 smbd -D
root 4981 1197 0 05:45 ? 00:00:14 smbd -D
root 4991 1197 0 06:03 ? 00:00:01 smbd -D
root 4992 1197 0 06:08 ? 00:00:01 smbd -D
root 4997 1197 0 06:19 ? 00:00:00 smbd -D
root 5006 1197 0 06:37 ? 00:00:01 smbd -D
root 5129 5011 0 07:00 pts/0 00:00:00 grep mbd
[root@FS1 etc]#
My other servers aren't doing this, so I must have done something
specific that caused this behaviour & can't figure it out. Any ideas?
To fix the problem, we have cron restart the server once per week - not
a great solution but "it works".
We're running samba-2.2.3a on Redhat 7.2 or 7.3
TIA
--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba