[Samba] Duplicate PID
Einat Ben Ezra
einatb01 at gmail.com
Mon Feb 24 10:04:13 MST 2014
I'm using samba version 3.0.37 and i encountered a very strange and
when 2 different users from 2 different machines are getting the same PID
(2 windows users that are trying to view documents on the CIFS share).
I did some google research on this problem and i found the following
regarding such a problem:
One can find references to problems like this, possibly affecting
performance, back in 2001
I experience that also on an RHEL6 samba server. Is %CPU for pid 17666
exceptionally high? If you look at the full smbstatus - do you see other
users with the same PID as user toor? List open files for the process with
lsof -p 17666 and verify if toor opens other user's files.
There are at least two theories what is causing this: 1. samba sometimes
does not update it's state when clients are disconnected
file locking (when one user accesses files of another user)
*My questions are:*
1.Can someone please throw a light on the problem? explain why this can
2. How can i avoid such a problem of duplicate PID?
3. Is there any workaround for such a problem? - for now i cannot upgrade
my samba version - it is not an option for me.
4. How can i identify this problem in samba logs - log.smbd . etc?
please kindly advise,
I'll appreciate any help ASAP
More information about the samba