From owner-freebsd-net@FreeBSD.ORG Thu Jan 11 16:31:37 2007 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5D4E516A417 for ; Thu, 11 Jan 2007 16:31:37 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [210.51.165.229]) by mx1.freebsd.org (Postfix) with ESMTP id 16C3E13C45E for ; Thu, 11 Jan 2007 16:31:36 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from localhost (tarsier.geekcn.org [210.51.165.229]) by tarsier.geekcn.org (Postfix) with ESMTP id 8BEF0EB23E2; Fri, 12 Jan 2007 00:31:32 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([210.51.165.229]) by localhost (mail.geekcn.org [210.51.165.229]) (amavisd-new, port 10024) with ESMTP id S8rskWSTSB+u; Fri, 12 Jan 2007 00:31:21 +0800 (CST) Received: from [192.168.1.32] (unknown [61.49.187.89]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTP id 70ABAEB2182; Fri, 12 Jan 2007 00:31:20 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:organization:user-agent:mime-version:to:cc: subject:references:in-reply-to:x-enigmail-version:content-type; b=uq/Wlv2ERlv5xUYhAoKgA+Aka+d9O3oPo68iLRn7WnmDxraPe7/h9E5u+P4ta16Sr rG/mbsnbUNKCZBdUjjARQ== Message-ID: <45A66609.4090307@delphij.net> Date: Fri, 12 Jan 2007 00:30:01 +0800 From: LI Xin Organization: The FreeBSD Project User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207) MIME-Version: 1.0 To: VANHULLEBUS Yvan References: <20070111161754.GA955@zen.inc> In-Reply-To: <20070111161754.GA955@zen.inc> X-Enigmail-Version: 0.94.1.0 Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="------------enig014A43C190C6B68BE27C029D" Cc: freebsd-net@freebsd.org Subject: Re: NFS locking broken X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jan 2007 16:31:37 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig014A43C190C6B68BE27C029D Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable VANHULLEBUS Yvan wrote: > Hi all. >=20 > Summary of the problem: since a few days, one of my FreeBSD > workstations can't lock anymore files on a NFS filesystem. >=20 >=20 >=20 > More details: >=20 > I have a NFS server (on a old Linux box, but that's not the problem, > it works) and some workstations. >=20 > Everything worked fine until a few days ago. It may not be related, > but problems started just after I made a big portupgrade of the > problematic workstation (last portupgrade was made 1 or 2 months > ago). >=20 >=20 > Now, when I boot this workstation (which mounts one NFS partition on > boot), I may have time (less than 5 minuts) to do a few NFS locks on > the partition (/home), then NFS locking stops working, and all lock > requests will be blocked (top says programs are on state "lockd", and > rpc.lockd is seen twice, on in "select" state and the other in > "nfslock" state). Sounds like an known and fixed issue. Try this patch: http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.sbin/rpc.lockd/lockd_lock.c= =2Ediff?r1=3D1.18&r2=3D1.19 Cheers, --=20 Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! --------------enig014A43C190C6B68BE27C029D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFpmYJOfuToMruuMARAxOLAKCJ1h4+8+FPpQxn4TY5tZ0JSdx3egCfTHsQ Sz4BBcg217/nxwG/Txr8Er4= =4+o9 -----END PGP SIGNATURE----- --------------enig014A43C190C6B68BE27C029D--