When an XP box is reading a file from the Samba server performance is what you would expect with 100 mbs ethernet. When uploading a large file (>1 meg) performance is very slow. 1/20th what I would expect. The Samba server log has these entries: posix_fcntl_lock: WARNING: lock request at offset 12226560, length 61440 returned [2004/12/24 17:28:52, 0] locking/posix.c:posix_fcntl_lock(658) an Invalid argument error. This can happen when using 64 bit lock offsets [2004/12/24 17:28:52, 0] locking/posix.c:posix_fcntl_lock(659) on 32 bit NFS mounted file systems. A google search turned up nothing usefull. Prior to this I was getting an error on the XP box saying the path was too long. A google search suggested that speed negotiation was a problem. I changed the NIC on the samba box to an SMC1244TX. The system detected the change and configured the driver automatically. I also configured the XP ethernet to lock 100mbs and full duplex. I am using a Linksys BEFW11S4 router, that acts as the DHCP server for the XP boxes (both of which have this problem). The linux box has the ip etc. hard coded, of course. I have started the troubleshooting guide for samba.>From the XP box, when I ping the linux computer name (ie: ping PW) itsomehow resolves (??) and the ping is good. When on the linux server I enter "ping laptop" (laptop is the XP computer name) it resolves into "ping roissy.com" (???) roissy is the workgroup name. I get responses from a series of domains all with the same IP 216.150.86.125 suggesting a virtual host. Any ideas what to do next? Thanks! stephen
On Sun, 26 Dec 2004 11:33:26 -0800, Thomas M. Skeren III wrote:>>The Samba server log has these entries: >> >>posix_fcntl_lock: WARNING: lock request at offset 12226560, length >>61440 returned >>[2004/12/24 17:28:52, 0] locking/posix.c:posix_fcntl_lock(658) >> an Invalid argument error. This can happen when using 64 bit lock >>offsets >> >man smb.conf for the option to disable 64 bit lock offsets.I found nothing in the man for this setting. But it is a very large document. stephen
Thomas M. Skeren III
2004-Dec-27 00:07 UTC
[Samba] Help with error log entry and terrible performance
stephen wrote:>On Sun, 26 Dec 2004 11:33:26 -0800, Thomas M. Skeren III wrote: > > > >>>The Samba server log has these entries: >>> >>>posix_fcntl_lock: WARNING: lock request at offset 12226560, length >>>61440 returned >>>[2004/12/24 17:28:52, 0] locking/posix.c:posix_fcntl_lock(658) >>> an Invalid argument error. This can happen when using 64 bit lock >>>offsets >>> >>> >>> >>man smb.conf for the option to disable 64 bit lock offsets. >> >> > >I found nothing in the man for this setting. > >I may be wrong, but I seem to remeber a setting which discusses this. Read the whole thing. Try : man smb.conf | grep 64k\ streaming new 64k streaming read and write varient SMB requests introduced That's what I found. That's the config line you're looking for I think.>But it is a very large document. > >stephen > > > > >
Fabio Viero
2004-Dec-27 00:19 UTC
[Samba] Help with error log entry and terrible performance
Hi While googling to help you i found this post: http://lists.samba.org/archive/samba/2004-January/079217.html It looks like it?s not THE answer for your problem, but it may give you some directions on where to go for the solutions. Cheers. ----- Original Message ----- From: "stephen" <stephen-d@rogers.com> To: "Thomas M. Skeren III" <tms3@fskklaw.com> Cc: <samba@lists.samba.org> Sent: Sunday, December 26, 2004 8:51 PM Subject: Re: [Samba] Help with error log entry and terrible performance> On Sun, 26 Dec 2004 11:33:26 -0800, Thomas M. Skeren III wrote: > >>>The Samba server log has these entries: >>> >>>posix_fcntl_lock: WARNING: lock request at offset 12226560, length >>>61440 returned >>>[2004/12/24 17:28:52, 0] locking/posix.c:posix_fcntl_lock(658) >>> an Invalid argument error. This can happen when using 64 bit lock >>>offsets >>> >>man smb.conf for the option to disable 64 bit lock offsets. > > I found nothing in the man for this setting. > > But it is a very large document. > > stephen > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba > >
Apparently Analagous Threads
- Samba locking fails over NFS
- lock problem on 32 bit mounted nfs with 64 bit lock offsets
- 3.0.13 - word cannot complete the save due to a file permission error. for smb/NFS mounted dirs
- nfs, 64 / 32 bit, locking problem
- Writing to a ReExported NFS Share With A MAC