locking issues

Wierzbicki, Ralf rwierzbicki at stryker.ca
Fri Apr 28 17:04:42 GMT 2000


Hello,

I am running a samba file server (2.0.7) on a linux box
(2.2.14).  The samba server seems very slow at certain
times and I believe this has something to with locking.
This is what I get in the logs:

-------------------------------------------------------
Apr 28 08:27:37 samba smbd[14775]: [2000/04/28 08:27:37, 0]
smbd/oplock.c:oplock_break(976)
Apr 28 08:27:37 samba smbd[14775]:   oplock_break: receive_smb timed out
after 30 seconds.
Apr 28 08:27:37 samba smbd[14775]:   oplock_break failed for file
fle/file.msg (dev = 807, inode = 639182).
Apr 28 08:27:37 samba smbd[14775]: [2000/04/28 08:27:37, 0]
smbd/oplock.c:oplock_break(1050)
Apr 28 08:27:37 samba smbd[14775]:   oplock_break: client failure in oplock
break in file fle/file.msg
Apr 28 08:56:00 samba smbd[15305]: [2000/04/28 08:56:00, 0]
smbd/oplock.c:oplock_break(976)
Apr 28 08:56:00 samba smbd[15305]:   oplock_break: receive_smb timed out
after 30 seconds.
Apr 28 08:56:00 samba smbd[15305]:   oplock_break failed for file
fle/pic.jpg (dev = 807, inode = 638993).
Apr 28 08:56:00 samba smbd[15305]: [2000/04/28 08:56:00, 0]
smbd/oplock.c:oplock_break(1050)
Apr 28 08:56:00 samba smbd[15305]:   oplock_break: client failure in oplock
break in file fle/pic.jpg
Apr 28 10:01:11 samba smbd[15655]: [2000/04/28 10:01:11, 0]
smbd/oplock.c:oplock_break(976)
Apr 28 10:01:11 samba smbd[15655]:   oplock_break: receive_smb timed out
after 30 seconds.
Apr 28 10:01:11 samba smbd[15655]:   oplock_break failed for file
ann/Feb2000.xls (dev = 807, inode = 1327117).
Apr 28 10:01:11 samba smbd[15655]: [2000/04/28 10:01:11, 0]
smbd/oplock.c:oplock_break(1050)
Apr 28 10:01:11 samba smbd[15655]:   oplock_break: client failure in oplock
break in file ann/Feb2000.xls
Apr 28 10:01:11 samba smbd[15655]:   reply_lockingX: Error : oplock break
from client for fnum = 4824 and no oplock granted on this file
(ann/Feb2000.xls).
Apr 28 11:32:38 samba smbd[15242]: [2000/04/28 11:32:38, 0]
smbd/oplock.c:oplock_break(976)
Apr 28 11:32:38 samba smbd[15242]:   oplock_break: receive_smb timed out
after 30 seconds.
Apr 28 11:32:38 samba smbd[15242]:   oplock_break failed for file ben/28.xls
(dev = 807, inode = 1081356).
Apr 28 11:32:38 samba smbd[15242]: [2000/04/28 11:32:38, 0]
smbd/oplock.c:oplock_break(1050)
Apr 28 11:32:38 samba smbd[15242]:   oplock_break: client failure in oplock
break in file ben/28.xls
Apr 28 11:32:38 samba smbd[15242]:   reply_lockingX: Error : oplock break
from client for fnum = 4916 and no oplock granted on this file (ben/28.xls).
-------------------------------------------------------
The client side is a mix of 95/98/NT/W2K machines.  The
"reply_lockingX: Error :" comes only from Win2K machines.

How can the performance of the server be improved and
how these timeout can be avoided?  Thanks in advance!

Ralf


More information about the samba mailing list