Explorer & MS Office hang

MCCALL,DON (HP-USA,ex1) don_mccall at hp.com
Wed Mar 7 16:07:27 GMT 2001


Nate,
The log messages indicate that samba believes that the user being serviced
by 
smbd with pid# 2252 has an oplock on the file, and when another client (the
one that 
is generating this oplock break log messaga) tried to open the file, HIS
smbd recognized 
that there was an oplock held on this file, and send an oplock break request
to that pid, and never got a response.  It would be interesting to know if
at the time you see these messages, if the pid noted in the message shows up
in a ps -ef|grep -i smb.  It could indicate that this smbd process is either
hung, or perhaps aborted without cleaning up it's oplocks...  I haven't
looked at this part of the code to determine if that is possible or not.

Also, what has changed since your users have complained about this - new
version of samba?
new version of MS Office on the pc's?  New opsys on the pc's?  Does stopping
and restarting 
samba clear this up?
Hope this helps,
Don
-----Original Message-----
From: Partenheimer Nate [mailto:npartenh at butler.edu]
Sent: Wednesday, March 07, 2001 10:56 AM
To: samba at lists.samba.org
Subject: Explorer & MS Office hang
Sensitivity: Confidential



I'm running samba 2.0.7 on Solaris 2.6.  We've have terrific success for
well over a year with samba until about a week ago I started receiving
reports that users could not open MS Office docs saved on a samba share.
The samba logs are full of information about oplocks like this:

[2001/03/07 10:14:04, 0] smbd/oplock.c:request_oplock_break(1204)
  request_oplock_break: no response received to oplock break request to pid
2252 on port 33706 for dev = 3180020, inode = 6302796
  for dev = 3180020, inode = 6302796, tv_sec = 3aa6328b, tv_usec = 6168f
[2001/03/07 10:14:08, 0] smbd/oplock.c:request_oplock_break(1204)
  request_oplock_break: no response received to oplock break request to pid
2252 on port 33706 for dev = 3180020, inode = 6302796
  for dev = 3180020, inode = 6302796, tv_sec = 3aa6328b, tv_usec = 6168f
[2001/03/07 10:14:27, 0] smbd/oplock.c:request_oplock_break(1204)
  request_oplock_break: no response received to oplock break request to pid
2252 on port 33706 for dev = 3180020, inode = 6302796
  for dev = 3180020, inode = 6302796, tv_sec = 3aa6328b, tv_usec = 6168f
[2001/03/07 10:14:29, 0] smbd/oplock.c:request_oplock_break(1204)
  request_oplock_break: no response received to oplock break request to pid
2252 on port 33706 for dev = 3180020, inode = 6302796
  for dev = 3180020, inode = 6302796, tv_sec = 3aa6328b, tv_usec = 6168f

smbstatus reports that I have an EXCLUSIVE+BATCH oplock on the file.

Other documents (text, image, audio, etc) work without problems as long as
they're not associated with an Office app.  The office files don't seem to
be corrupted either - if I ftp them to my w2k workstation I can then open
them locally.

I tried setting fake oplocks yes/no but that didn't seem to change anything.

Any suggestions/solutions?

thanks,

Nate Partenheimer
Information Resources
Butler University
npartenh at butler.edu  


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba




More information about the samba mailing list