NFS/TCP



Will a fix for NFS/TCP (nfs_socket.c rev 1.138) be ever committed to stable?

Yuri Khotyaintsev wrote:
On Monday 08 May 2006 19:41, Kris Kennaway wrote:
On Mon, May 08, 2006 at 01:54:58PM +0200, Yuri Khotyaintsev wrote:
I have an NSF server and several clients which write large text files to
the server. All machines are running max one week old STABLE and are
connected to the same gigabit switch, and have identical nics (em). Amd
mount options are: /defaults
type:=nfs;cache:=all;opts:=rw,intr,nosuid,grpid,nfsv3,tcp,resvport,soft

Almost all the time I get the following messages on the server:

nfsd send error 32
nfsd send error 32
nfsd send error 32
nfsd send error 32
nfsd send error 32
...

And corresponding messages on a client:

impossible packet length (8996061) from nfs server db:/export/data1/caa
impossible packet length (3123011) from nfs server db:/export/data1/caa
impossible packet length (893006905) from nfs server db:/export/data1/caa
impossible packet length (842018868) from nfs server db:/export/data1/caa
impossible packet length (874220) from nfs server db:/export/data1/caa
impossible packet length (14182767) from nfs server db:/export/data1/caa
impossible packet length (16777216) from nfs server db:/export/data1/caa
impossible packet length (758134573) from nfs server db:/export/data1/caa
impossible packet length (1503661568) from nfs server
db:/export/data1/caa impossible packet length (1300840) from nfs server
db:/export/data1/caa ...

And from time to time the files which are written to the server get
truncated (regardless of the file size)...

Does anybody have an idea how to make it work reliably and not to
truncate the files?
mohan committed a fix for one such problem a few days ago. It will
not be in 6.1-RELEASE, but you should be able to apply the patch
yourself. It would be nice to know how it works for you.

http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/nfsclient/nfs_socket.c.diff?r
1=text&tr1=1.136&r2=text&tr2=1.139

I have patched nfs_socket.c on all clients and run the same kind of processing which was causing the problem. I can report that the problem is gone with nfs_socket.c rev 1.139. I only got one "nfs send error 35" on one of the clients instead of hundreds of messages I was seeing before. Thank you very much!
--
Dr. Yuri Khotyaintsev
Institutet för rymdfysik (IRF), Uppsala

_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: NFS/TCP
    ... I thought I had MFC'ed the fix to releng_6. ... Almost all the time I get the following messages on the server: ... nfsd send error 32 ... one of the clients instead of hundreds of messages I was seeing before. ...
    (freebsd-stable)
  • Re: NFS/TCP
    ... I don't know if mohan already committed it, ... Almost all the time I get the following messages on the server: ... nfsd send error 32 ... Dr. Yuri Khotyaintsev ...
    (freebsd-stable)
  • Re: E-mail
    ... Select the mail account you want to fix. ... check the server, and the username to make sure they are correct. ... choose Use Secure Connection SSL encryption ... Under Authentication type choose password. ...
    (Fedora)
  • Wolfpack 4.3.11 Server Release
    ... We are happy to announce that Empire 4.3.11 is now available. ... Rewrite the client's code to read server output during login. ... Fix xdump not to deny access to game state tables when maximum ... Fix bug in path command that made it swallow every other step. ...
    (rec.games.empire)
  • Re: Cannot create sites from portal after applying patch http://su
    ... I am hoping that the fix is to W2k3 and not SharePoint Portal Server 2003, ... 2007 level products as well as the Office 2003 level product FrontPage 2003. ... Any word on a fix or did you figure out how to fix. ...
    (microsoft.public.sharepoint.portalserver)