Hi,
Since this week my Samba keep accumulating smbd process that keep lock on
files and neither me as root or samba itself can't kill. The only way to
release the locked files is to reboot the machine and this is really
annoying for all the clients. I read in a forum that this might be link with
a kernel corruption, but this threads hasn't been active in a long time and
wasn't so clear about the corruption. So I turn on your experiences and
knowledge to help me find a solution to this problem.
I run Samba 3.0.26a-3.5 on Opensuse 10.3 with the 2.6.22.17-0.1-default.
I don't thing the problem come from my smb.conf, the deadtime is set to 10
minutes but since those process keep a lock on files they are not kill after
10 minutes of inactivity.
[global]
workgroup = Bidon
server string = PDC - File Server
log file = /log/samba.log
server signing = auto
deadtime = 10
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = cups
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody
-s /bin/false %m$
logon path = \\%L\profiles\.msprofile
logon drive = P:
logon home = \\%L\%U\.9xprofile
domain logons = Yes
preferred master = Yes
domain master = Yes
wins proxy = Yes
wins server = eth0:10.0.0.11
wins support = Yes
ldap ssl = no
acl group control = Yes
profile acls = Yes
map acl inherit = Yes
printing = cups
cups options = raw
print command =
lpq command = %p
lprm command =
store dos attributes = Yes
strict locking = Yes
include = /etc/samba/dhcp.conf
[data]
comment = data
path = /data/data
read only = No
inherit permissions = Yes
inherit acls = Yes
inherit owner = Yes
use sendfile = Yes
dos filemode = Yes
dos filetime resolution = Yes
[email]
path = /data/email/
read only = No
browseable = No
blocking locks = No
locking = No
oplocks = No
level2 oplocks = No
posix locking = No
strict locking = No
dos filemode = Yes
dos filetime resolution = Yes
Thank you,
Mathieu Beaudoin
Responsable des T.I.
CVT Corp
Technologies de vitesse variable
Variable Speed Technologies
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mathieu Beaudoin wrote:> Hi, > > Since this week my Samba keep accumulating smbd process that keep lock on > files and neither me as root or samba itself can't kill. The only way to > release the locked files is to reboot the machine and this is really > annoying for all the clients. I read in a forum that this might be link with > a kernel corruption, but this threads hasn't been active in a long time and > wasn't so clear about the corruption. So I turn on your experiences and > knowledge to help me find a solution to this problem. > > > > I run Samba 3.0.26a-3.5 on Opensuse 10.3 with the 2.6.22.17-0.1-default. > > I don't thing the problem come from my smb.conf, the deadtime is set to 10 > minutes but since those process keep a lock on files they are not kill after > 10 minutes of inactivity. > > > > > > [global] > > workgroup = Bidon > > server string = PDC - File Server > > log file = /log/samba.log > > server signing = auto > > deadtime = 10 > > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > > printcap name = cups > > add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody > -s /bin/false %m$ > > logon path = \\%L\profiles\.msprofile > > logon drive = P: > > logon home = \\%L\%U\.9xprofile > > domain logons = Yes > > preferred master = Yes > > domain master = Yes > > wins proxy = Yes > > wins server = eth0:10.0.0.11 > > wins support = Yes > > ldap ssl = no > > acl group control = Yes > > profile acls = Yes > > map acl inherit = Yes > > printing = cups > > cups options = raw > > print command = > > lpq command = %p > > lprm command = > > store dos attributes = Yes > > strict locking = Yes > > include = /etc/samba/dhcp.conf > > > > [data] > > comment = data > > path = /data/data > > read only = No > > inherit permissions = Yes > > inherit acls = Yes > > inherit owner = Yes > > use sendfile = Yes > > dos filemode = Yes > > dos filetime resolution = Yes > > > > [email] > > path = /data/email/ > > read only = No > > browseable = No > > blocking locks = No > > locking = No > > oplocks = No > > level2 oplocks = No > > posix locking = No > > strict locking = No > > dos filemode = Yes > > dos filetime resolution = YesI've seen written here many times that the TCP options are old/no longer needed. Not that I expect that removing them will fix anything. Seems to me you have an awful lot things defined specifically there. I don't know how those relate to the defaults. Or is that testparm -v output? - -- ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer II |$&| |__| | | |__/ | \| _| |novosirj@umdnj.edu - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFICQqrmb+gadEcsb4RAmjxAKCQudeurwtv7YWf20mPvr/5pTVUqACfbF+z bTXN5/lgADDY5qywZKJEzp0=IXls -----END PGP SIGNATURE-----