[Samba] Re: Oplock problems

Jeremy Allison jra at samba.org
Wed Oct 8 16:58:21 GMT 2003


On Wed, Oct 08, 2003 at 09:23:43AM +0200, Bernd Wegenstein wrote:
> I'm experiencing the same problem.
> We are using W98 and XP clients with Office97. Word and Excel both produce
> the same problem.
> When you open a file there is no oplock --> after saving the first time
> there is an "EXCLUSIVE+BATCH" oplock.
> I think this might be somehow connected to another Problem we've got with
> oplocks.
> Sometimes i'm getting opplock_break failures for different clients - both 98
> and Xp.
> <--
> Oct  7 15:22:04 wegenstein -- MARK --
> Oct  7 15:42:04 wegenstein -- MARK --
> Oct  7 15:59:00 wegenstein /USR/SBIN/CRON[23923]: (root) CMD ( rm -f
> /var/spool/cron/lastrun/cron.hourly)
> Oct  7 16:10:27 wegenstein smbd[23944]: [2003/10/07 16:10:27, 0]
> smbd/oplock.c:oplock_break(797)
> Oct  7 16:10:28 wegenstein smbd[23944]:   oplock_break: receive_smb timed
> out after 30 seconds.
> Oct  7 16:10:28 wegenstein smbd[23944]:   oplock_break failed for file
> GLEITZ.doc (dev = 900, inode = 3129497, file_id = 3).
> Oct  7 16:10:28 wegenstein smbd[23944]: [2003/10/07 16:10:28, 0]
> smbd/oplock.c:oplock_break(869)
> Oct  7 16:10:28 wegenstein smbd[23944]:   oplock_break: client failure in
> oplock break in file GLEITZ.doc
> Oct  7 16:22:04 wegenstein -- MARK --
> Oct  7 16:42:04 wegenstein -- MARK --
> -->
> The client takes about 30sec to recover and write the (small) file to the
> samba share which makes the performance look very poor. During this time i
> can't
> browse the contents of the mapped network drive.
> Any suggestions on how to solve this problem are highly apreciated.

Please check your networking hardware and ensure your W9x and XP clients
are up to date w.r.t. redirector patch levels.

Jeremy.



More information about the samba mailing list