"C3" <_> wrote:
> I'm running Samba 2.2.3a-14.1 for Debian, and every now and then when I
> access a file from my WinXP machine, the program accessing the file in
> Windows will freeze for almost a minute before opening the file. I think
> both Windows and Samba are at fault here: Windows for hanging until the
> program can read the file, and Samba for delaying this transaction (for
> whatever reason), but I think I can fix the problem with Samba (don't know
> about Windows).
Is the application Word or Excel? I have the same problem, and after the
problem has occured, I find this a log-file under /var/log/samba/<pc>.log,
that says:
[2004/11/03 17:08:04, 0] smbd/oplock.c

plock_break(758)
oplock_break: receive_smb error (Success)
oplock_break failed for file /SomePath/somefilename.doc (dev = 808, inode
= 1844384, file_id = 26583).
[2004/11/03 17:08:04, 0] smbd/oplock.c

plock_break(843)
oplock_break: client failure in break - shutting down this smbd.
The name of the logfile (the <pc> part of the name, see above) is based on
the windows machine name.
I'm running Version 2.2.3a under RH 7.3
--
Jørn Dahl-Stamnes
http://www.dahl-stamnes.net/dahls/index.html