[Samba] oplock_break problem

Sam Barasch barasch at biostat.wisc.edu
Wed Oct 2 13:54:01 GMT 2002


Dominic,

It is possible to turn off oplocks ( and level 2 oplocks ) to prevent this 
problem.

We found that performance degraded so severely that we needed to turn 
oplocks back on.

To turn off oplocks for all of your samba shares, add the following 
parameters to your [global] settings in smb.conf

oplocks=no
level2 oplocks = no

I assume there is a lot of development going on in this area for the next 
version of samba, but I don't know for sure.

Good luck,
Sam

At 09:25 AM 10/2/2002 -0400, Dominic Saindon wrote:
>Hi,
>
>I compiled and installed Samba version 2.2.2 on Solaris 2.6 and I have the
>following problem:
>On certain Windows stations, there is a delay of 2 minutes to open a file.
>And in the log of Samba for this station, I have the following result:
>[2002/09/30 11:03:02, 0] smbd/oplock.c:oplock_break(786)
>oplock_break: receive_smb timed out after 30 seconds.
>oplock_break failed for file S380710.tif (dev = 1540008, inode = 24572).
>[2002/09/30 11:03:02, 0] smbd/oplock.c:oplock_break(859)
>oplock_break: client failure in oplock break in file S380710.tif
>What can I make to correct the problem.
>Thank you.
>_/\_______________________
>Dominic Saindon
>Analyste en système
>
>COGNICASE (Canada) inc.
>2144, rue King Ouest, bureau 240
>Sherbrooke (Québec)  J1J 2E8
>Tél. : (819) 564-1199, poste 2282
>Téléc. : (819) 564-0868
>
>Courriel : dominic.saindon at cognicase.com
>
>--
>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