[Samba] 32/64bit Locking Problems

R. Michael Richer mricher at mirarco.org
Fri Mar 18 18:55:21 GMT 2005


We are receiving the following in our logs:

Mar 18 13:41:37 athena smbd[24222]: [2005/03/18 13:41:37, 0]
locking/posix.c:posix_fcntl_lock(658)
Mar 18 13:41:37 athena smbd[24222]:   an Invalid argument error. This
can happen when using 64 bit lock offsets
Mar 18 13:41:37 athena smbd[24222]: [2005/03/18 13:41:37, 0]
locking/posix.c:posix_fcntl_lock(659)
Mar 18 13:41:37 athena smbd[24222]:   on 32 bit NFS mounted file
systems.
Mar 18 13:41:37 athena smbd[24222]: [2005/03/18 13:41:37, 0]
locking/posix.c:posix_fcntl_lock(673)
Mar 18 13:41:37 athena smbd[24222]:   Count greater than 31 bits -
retrying with 31 bit truncated length.
Mar 18 13:41:37 athena smbd[24222]: [2005/03/18 13:41:37, 0]
locking/posix.c:posix_fcntl_lock(657)
Mar 18 13:41:37 athena smbd[24222]:   posix_fcntl_lock: WARNING: lock
request at offset 0, length 9223372036854775808 returned

This is causing some extreme performance problems.  Disabling oplocks
and level 2 oplocks removes the error messages, but the performance
still suffers.
Anyone have any ideas on this one?  System config is next:

RHEL 3.0	2.4.21-27	(SMP)
Samba-3.0.9-1.3E.2
CXFS 3.2.2

The filesystem (SGI CXFS) running on the RHEL 3.0 is exported via NFS,
and is used by Samba.  No other server actually shares, although they
are clients.

Cheers! And Thanks To Anyone Who Knows What's Going On!!!!

Mike





More information about the samba mailing list