From owner-freebsd-stable@FreeBSD.ORG Mon May 8 17:41:35 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F37F16A400 for ; Mon, 8 May 2006 17:41:35 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id D78DA43D49 for ; Mon, 8 May 2006 17:41:34 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id B6F571A3C1B; Mon, 8 May 2006 10:41:34 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id BEEEA5164F; Mon, 8 May 2006 13:41:33 -0400 (EDT) Date: Mon, 8 May 2006 13:41:33 -0400 From: Kris Kennaway To: Yuri Khotyaintsev Message-ID: <20060508174133.GA48163@xor.obsecurity.org> References: <200605081354.58807.yuri@irfu.se> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0OAP2g/MAC+5xKAE" Content-Disposition: inline In-Reply-To: <200605081354.58807.yuri@irfu.se> User-Agent: Mutt/1.4.2.1i Cc: freebsd-stable@freebsd.org Subject: Re: NFS/TCP problems X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 May 2006 17:41:35 -0000 --0OAP2g/MAC+5xKAE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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=20 > server. All machines are running max one week old STABLE and are connecte= d to=20 > the same gigabit switch, and have identical nics (em). Amd mount options = are: > /defaults =20 > type:=3Dnfs;cache:=3Dall;opts:=3Drw,intr,nosuid,grpid,nfsv3,tcp,resvport,= soft >=20 > Almost all the time I get the following messages on the server: >=20 > nfsd send error 32 > nfsd send error 32 > nfsd send error 32 > nfsd send error 32 > nfsd send error 32 > ... >=20 > And corresponding messages on a client: >=20 > 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 > ... >=20 > And from time to time the files which are written to the server get trunc= ated=20 > (regardless of the file size)... >=20 > Does anybody have an idea how to make it work reliably and not to truncat= e the=20 > 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= ?r1=3Dtext&tr1=3D1.136&r2=3Dtext&tr2=3D1.139 Kris --0OAP2g/MAC+5xKAE Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEX4LNWry0BWjoQKURAtfuAKD9Sv5Povzq/sjB1CDcc33wNDBeFgCgpdPV y10Iy1It3HVEShcAhyapDfY= =gBCP -----END PGP SIGNATURE----- --0OAP2g/MAC+5xKAE--