Runaway SMBD processes
don_mccall at hp.com
Wed Apr 4 22:04:00 GMT 2001
What would help is to find out WHAT smbd is doing (what it's hanging on);
In your smb.conf file, make the log file = /usr/local/samba/var/log.%m
and log level = 0
and debug pid = yes
Then when this happens again (smbd is getting spawned over and over for the
same user/machine) quickly edit your smb.conf file and change log level =
After you have a goodsized log.machinename (where machinename is the netbios
of the pc that is experiencing the problem), change log level back to 0, and
take a look at the log file; you should be able to track the 'spawining'
on the pid # changing in the log messages, and see what it was trying to do
before the log messages start logging with a different pid # (indicating
machine has reconnected with a new smbd...
Hope this helps,
From: Eric Pilger [mailto:pilger at kahana.higp.hawaii.edu]
Sent: Wednesday, April 04, 2001 3:45 PM
Subject: Runaway SMBD processes
I think this was covered earlier, but I missed it because I was beating
my head against Win2K PDC support.Now I have that working, this problem
is becoming a real pain.
At least once a day, smbd will go crazy for one or more users.It will
create a new instance every minutes or so to serve the exact same share,
while not killing the old instances. Everything will lock up for the
user and I will have to shut down their machine, and restart smbd to
clear things up.
This seems to be related primarily to running netscape with its profile
on a remote share. Netscape keeps one or more files constantly open,
locked, and various other things. In the past, this was only a problem
when I rebooted the SAMBA server. However, I have a suspicion it is now
somehow timimg out while in use. Smbd then starts another instance to
server the request, leaving the old instance open.Things get all
confused, the Windows Explorer hangs waiting for some request that will
never be serviced, my users are wailing.
Is there some switch I need to start tuning?
Eric J. Pilger
Hawaii Institute of Geophysics and Planetology/SOEST
pilger at pgd.hawaii.edu
More information about the samba-ntdom