[Samba] Samba locking issue

Micheal Thompson mthompson at brinkster.com
Wed Mar 23 21:37:07 GMT 2005


I have a file server that is used is a mail cluster. I have some files
that are being locked indefinatly. This causes the mail servers to fail.
The samba server then failes and the only way to recover is to restart
the service. This happen about every 15 to 20 minutes. This is what the
smbstatus reads. Any help would be good. 

base dir, machine and user names have been removed. smb.conf is at the
bottom.
Samba version 3.0.9-1.3E.2
PID     Username      Group         Machine
-------------------------------------------------------------------
 2923   removed    removed       removed4        (10.0.6.53)
 2921   removed    removed  removed2        (10.0.6.51)
 2923    removed    removed   removed4        (10.0.6.53)
 2941  removed    removed   removed5        (10.0.6.54)
 2941    removed     removed   removed5        (10.0.6.54)
 2923    removed    removed   removed4        (10.0.6.53)
 2923   removedl    removed   removed4        (10.0.6.53)
 2941   m removedil  removed   removed5        (10.0.6.54)
 2939    removedl    removed   removed3        (10.0.6.52)
 3001   m removedil     removed   removed5        (10.0.6.54)
 3001    removed     removed   removed5        (10.0.6.54)
 3001 removed    removed  removed5        (10.0.6.54)
 2939   m removed  removed   removed3        (10.0.6.52)
 2939   removedil    removed   removed3        (10.0.6.52)
 2992    removedl     removed   removed3        (10.0.6.52)
 2921    removedil     removed   removed2        (10.0.6.51)
 2992    removedl     removed   removed3        (10.0.6.52)
 2992    removedil     removed   removed3        (10.0.6.52)

Service      pid     machine       Connected at
-------------------------------------------------------
 removed         2923   removed         Wed Mar 23 14:21:48 2005
 removedk         2921   removed         Wed Mar 23 14:26:05 2005
 removedk         2939   removed         Wed Mar 23 14:21:47 2005
 removedrak         2992   removed         Wed Mar 23 14:25:35 2005
 removedrak         2941   removed         Wed Mar 23 14:23:36 2005
 removed        2923   removed         Wed Mar 23 14:27:27 2005
 removed         3001   removed         Wed Mar 23 14:25:11 2005
 removed        2939   removed3         Wed Mar 23 14:22:11 2005
 removedk         2941   removed         Wed Mar 23 14:21:48 2005
 removedk         2923   removed         Wed Mar 23 14:24:47 2005
 removedak         3001   removed5         Wed Mar 23 14:26:47 2005
 removedk         2992  removed3         Wed Mar 23 14:25:02 2005
 removedk         3001   removed5         Wed Mar 23 14:26:47 2005
 removed         2923   removed         Wed Mar 23 14:21:13 2005
 removed         2921   removed2         Wed Mar 23 14:21:13 2005
 removedk         2939   removed3         Wed Mar 23 14:22:25 2005
 removed         2992   removed3         Wed Mar 23 14:25:02 2005
 removedk         2941   removed5         Wed Mar 23 14:22:26 2005

Locked files:
Pid    DenyMode   Access      R/W        Oplock           Name
--------------------------------------------------------------
 Wed Mar 23 14:27:27 2005
2923   DENY_NONE  0x2019f     RDWR       NONE
dir/campania002/limits.dat   Wed Mar 23 14:24:19 2005
2923   DENY_NONE  0x2019f     RDWR       NONE
dir/campania002/limits.dat   Wed Mar 23 14:24:14 2005
2923   DENY_NONE  0x2019f     RDWR       NONE             dir
campania002/limits.dat   Wed Mar 23 14:24:09 2005
2923   DENY_NONE  0x2019f     RDWR       NONE
dir/campania002/limits.dat   Wed Mar 23 14:24:07 2005
2923   DENY_NONE  0x2019f     RDWR       NONE
dir/campania002/limits.dat   Wed Mar 23 14:24:04 2005
2923   DENY_NONE  0x2019f     RDWR       NONE
dir/campania002/limits.dat   Wed Mar 23 14:23:58 2005
2923   DENY_NONE  0x2019f     RDWR       NONE
dir/campania002/limits.dat   Wed Mar 23 14:23:56 2005
2923   DENY_NONE  0x2019f     RDWR       NONE
dirt/campania002/limits.dat   Wed Mar 23 14:23:54 2005
2923   DENY_NONE  0x2019f     RDWR       NONE
dir/campania002/limits.dat   Wed Mar 23 14:23:50 2005
2923   DENY_NONE  0x2019f     RDWR       NONE
dirt/campania002/limits.dat   Wed Mar 23 14:23:49 2005
2923   DENY_NONE  0x2019f     RDWR       NONE
dir/campania002/limits.dat   Wed Mar 23 14:23:49 2005
2923   DENY_NONE  0x2019f     RDWR       NONE
dir/campania002/limits.dat   Wed Mar 23 14:23:45 2005
2923   DENY_NONE  0x2019f     RDWR       

smb.conf

# Global parameters
[global]
        dos charset = UTF-8
        workgroup = ermoved
        realm = removed
        server string = removed
        security = DOMAIN
        obey pam restrictions = Yes
        password server = removed
        pam password change = Yes
        lanman auth = No
        client NTLMv2 auth = Yes
        client lanman auth = No
        client plaintext auth = No
        use kerberos keytab = Yes
        syslog = 0
        log file = /var/log/samba/%m.log
        max log size = 100
        client signing = Yes
        max smbd processes = 1000
        socket options = TCP_NODELAY IPTOS_LOWDELAY  SO_KEEPALIVE
SO_RCVBUF=8192 SO_SNDBUF=8192
        preferred master = No
        domain master = No
        kernel oplocks = No
        ldap ssl = no
        idmap uid = 10000-200000
        idmap gid = 10000-200000
        winbind separator = +
        winbind cache time = 15
        winbind use default domain = Yes
        level2 oplocks = No

[removed]
        comment = removed
        path = /var/merak
        valid users = removed
        read only = No
        create mask = 0776
        force create mode = 0776
        force directory mode = 0776
        hosts allow =removed
        max connections = 999999


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20050323/1e4134c0/attachment.bin


More information about the samba mailing list