NFS/TCP problems

Yuri Khotyaintsev yuri at irfu.se
Mon May 8 11:55:06 UTC 2006


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?

-- 
Dr. Yuri Khotyaintsev
Institutet för rymdfysik (IRF), Uppsala


More information about the freebsd-stable mailing list