[Samba] Error when removing kernel oplock

Lev Vainblat lev at zadarastorage.com
Mon Feb 9 04:48:24 MST 2015


Hello all,

We have an application running over samba share that creates a lot of 0-length files, and eventually throws an error because one of more of the files could not be created or does not appear to be created.

At the same time in the samba log there are many messages like

[2015/02/02 14:02:05.545710,  0, pid=32169, class=locking] ../source3/smbd/oplock_linux.c:184(linux_release_kernel_oplock)
  linux_release_kernel_oplock: Error when removing kernel oplock on file jt2/HIP.gdb/GDB_SystemCatalog.WIN-SA4UFI59NRG.4960.rd.lock, file_id = fc31:98000012f:0, gen_id = 2057849019. Error was Resource temporarily unavailable
[2015/02/02 14:02:05.556290,  0, pid=32169, class=locking] ../source3/smbd/oplock_linux.c:184(linux_release_kernel_oplock)
  linux_release_kernel_oplock: Error when removing kernel oplock on file jt2/HIP.gdb/GDB_SystemCatalog.WIN-SA4UFI59NRG.4960.rd.lock, file_id = fc31:98000012f:0, gen_id = 287856958. Error was Resource temporarily unavailable
[2015/02/02 14:02:05.595591,  0, pid=32169, class=locking] ../source3/smbd/oplock_linux.c:184(linux_release_kernel_oplock)
  linux_release_kernel_oplock: Error when removing kernel oplock on file jt2/HIP.gdb/a00000004.gdbindexes, file_id = fc31:980000131:0, gen_id = 2272880767. Error was Resource temporarily unavailable
[2015/02/02 14:02:05.603926,  0, pid=32169, class=locking] ../source3/smbd/oplock_linux.c:184(linux_release_kernel_oplock)
  linux_release_kernel_oplock: Error when removing kernel oplock on file jt2/HIP.gdb/GDB_SystemCatalog.WIN-SA4UFI59NRG.4960.rd.lock, file_id = fc31:980000132:0, gen_id = 3298831682. Error was Resource temporarily unavailable
[2015/02/02 14:02:05.638989,  0, pid=32169, class=locking] ../source3/smbd/oplock_linux.c:184(linux_release_kernel_oplock)
  linux_release_kernel_oplock: Error when removing kernel oplock on file jt2/HIP.gdb/GDB_SystemCatalog.WIN-SA4UFI59NRG.4960.rd.lock, file_id = fc31:980000133:0, gen_id = 105942608. Error was Resource temporarily unavailable
[2015/02/02 14:02:05.644093,  0, pid=32169, class=locking] ../source3/smbd/oplock_linux.c:184(linux_release_kernel_oplock)
  linux_release_kernel_oplock: Error when removing kernel oplock on file jt2/HIP.gdb/a00000003.gdbtable, file_id = fc31:98000012c:0, gen_id = 3899015295. Error was Resource temporarily unavailable
[2015/02/02 14:02:05.650529,  0, pid=32169, class=locking] ../source3/smbd/oplock_linux.c:184(linux_release_kernel_oplock)
  linux_release_kernel_oplock: Error when removing kernel oplock on file jt2/HIP.gdb/a00000003.gdbtablx, file_id = fc31:98000012d:0, gen_id = 1461399189. Error was Resource temporarily unavailable
[2015/02/02 14:02:05.672657,  0, pid=32169, class=locking] ../source3/smbd/oplock_linux.c:184(linux_release_kernel_oplock)
  linux_release_kernel_oplock: Error when removing kernel oplock on file jt2/HIP.gdb/GDB_SpatialRefs.wr.lock, file_id = fc31:980000133:0, gen_id = 2558332608. Error was Resource temporarily unavailable

There is no other errors.

Some more info:

Client host: Windows2012

Samba version: 4.0.18

smb.conf:

[global]
        map to guest = Bad User
        log file = /var/log/samba/log.%m
        debug pid = Yes
        debug class = Yes
        smb ports = 445
        deadtime = 15
        load printers = No
        printcap name = /dev/null
        disable spoolss = Yes
        dns proxy = No
        aio read size = 1
        aio write size = 1
        use sendfile = Yes

[fs1]
        path = /export/fs1
        read only = No
        force create mode = 0744
        force directory mode = 0755
        guest ok = Yes
        hosts allow = 10.0.2.0/24, 10.0.1.0/24
        hosts deny = ALL

Underlying file system is XFS:
    /dev/dm-52 /export/fs1 xfs rw,sync,noatime,wsync,attr2,discard,inode64,logbsize=64k,sunit=128,swidth=384,noquota 0 0

Any idea what could be the problem?

Thanks
    Lev.

---
Это сообщение проверено на вирусы антивирусом Avast.
http://www.avast.com


More information about the samba mailing list