[Samba] Samba is having babies
Paul.Sanders at excellus.com
Paul.Sanders at excellus.com
Thu Aug 1 05:46:13 GMT 2002
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 at excellus.com
|---------+---------------------------->
| | John Schmerold |
| | <john at katy.com> |
| | Sent by: |
| | samba-admin at lists|
| | .samba.org |
| | |
| | |
| | 08/01/2002 07:51 |
| | AM |
| | |
|---------+---------------------------->
>---------------------------------------------------------------------------------------------------------------------------------------------|
| |
| To: 'Samba List' <samba at lists.samba.org> |
| cc: |
| Subject: [Samba] Samba is having babies |
>---------------------------------------------------------------------------------------------------------------------------------------------|
I start Samba as follows in /etc/rc.d/rc.local
[root at FS1 etc]# cat /etc/rc.d/rc.local | grep smb
service smb start
[root at FS1 etc]#
For reasons that aren't clear to me, additional processes are fired up:
[root at 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 at 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
More information about the samba
mailing list