2.2.1 breaking oplocks failing

Mike Gerdts Michael.Gerdts at usa.alcatel.com
Wed Aug 8 16:47:53 GMT 2001


I am not terribly sure if this is a bug or just the way windows works...

I had a user complaining about very slow reads of an html file.  Turning
up debugging revealed (among other things...)

[2001/08/08 11:42:19, 5] smbd/open.c:open_mode_check(496)
  open_mode_check: oplock_request = 3, breaking oplock (3) on file
dsl1/index.htm, dev = 3dc19ad, inode = 43826
[2001/08/08 11:42:19, 3] smbd/oplock.c:request_oplock_break(932)
  request_oplock_break: sending a oplock break message to pid 19017 on
port 35260 for dev = 3dc19ad, inode = 43826, tv_sec = 3b703b19, tv_usec
= 6bcbb

...
[2001/08/08 11:42:34, 0] smbd/oplock.c:request_oplock_break(997)
  request_oplock_break: no response received to oplock break request to
pid 19017 on port 35260 for dev = 3dc19ad, inode = 43826
  for dev = 3dc19ad, inode = 43826, tv_sec = 3b703b19, tv_usec = 6bcbb
[2001/08/08 11:42:34, 3] smbd/oplock.c:request_oplock_break(1073)
  request_oplock_break: broke oplock.


Meanwhile smbstatus reports:

19017  DENY_NONE  RDONLY     EXCLUSIVE+BATCH  /path/to/dsl1/index.htm
Tue Aug  7 15:01:45 2001

More log entries and raw snoop data are available if this would be
helpful in diagnosing the problem, if there is one.

If this is not a bug, can I get a hint as to the right place to find
enlightenment on oplocks?

Thanks much,
Mike





More information about the samba-technical mailing list