[Samba] Samba OpsLock
Michael Coburn
mcoburn at jupiterimages.com
Tue Dec 19 19:14:59 GMT 2006
Try
oplocks = false
--
Michael Coburn
Enterprise Systems Administrator
Jupiterimages
Jason Fant wrote:
> Hello,
>
>
>
> I'm having problems with samba share and trying to make multiple connections
> from one PC. Here are the errors I'm seeing in the log file:
>
>
>
> [2006/12/19 09:02:48, 1] smbd/service.c:make_connection_snum(648)
>
> amcfp001 (10.210.4.65) connect to service bvvol02_U1 initially as user
> bvvol02 (uid=502, gid=502) (pid 17671)
>
> [2006/12/19 09:02:48, 1] smbd/service.c:make_connection_snum(648)
>
> amcfp001 (10.210.4.65) connect to service bvvol02_U2 initially as user
> bvvol02 (uid=502, gid=502) (pid 17671)
>
> [2006/12/19 09:03:20, 0] smbd/oplock.c:request_oplock_break(1055)
>
> request_oplock_break: no response received to oplock break request to pid
> 19723 on port 33074 for dev = fd03, inode = 23216135, file_id = 219
>
> [2006/12/19 09:03:39, 0] smbd/oplock.c:oplock_break(830)
>
> oplock_break: end of file from client
>
> oplock_break failed for file B2D000024.bkf (dev = fd03, inode = 23216135,
> file_id = 219).
>
> [2006/12/19 09:03:39, 0] smbd/oplock.c:oplock_break(923)
>
> oplock_break: client failure in break - shutting down this smbd.
>
> [2006/12/19 09:03:39, 0] tdb/tdbutil.c:tdb_log(725)
>
> tdb(/var/cache/samba/locking.tdb): tdb_lock failed on list 22 ltype=1
> (Resource deadlock avoided)
>
> [2006/12/19 09:03:39, 0] tdb/tdbutil.c:tdb_log(725)
>
> tdb(/var/cache/samba/locking.tdb): tdb_lock failed on list 22 ltype=0
> (Resource deadlock avoided)
>
> [2006/12/19 09:03:39, 0] tdb/tdbutil.c:tdb_log(725)
>
> tdb(/var/cache/samba/locking.tdb): tdb_unlock: count is 0
>
> [2006/12/19 09:03:39, 1] smbd/service.c:close_cnum(841)
>
> amcfp001 (10.210.4.65) closed connection to service bvvol02_U2
>
>
>
> I tried setting these options in my smb.conf file and still see these oplock
> errors:
>
> use sendfile = no
>
> kernel oplocks = no
>
> level2 oplocks = no
>
> smb ports = 139
>
> oplock break wait time = 100
>
>
>
>
>
> My kernel is: 2.6.9-022
>
> My samba version is: Version 3.0.10-1.4E.9
>
>
>
>
>
> Any help would be great,
>
> Thank You
>
> ------------------------
>
> Jason Fant, Systems Administrator
> Foundatia Technologies
> (cell)216.214.4849
> <mailto:Jason.Fant at Foundatia.com> Jason.Fant at Foundatia.com
>
>
>
>
More information about the samba
mailing list