From owner-freebsd-stable@FreeBSD.ORG Mon Jun 29 13:36:20 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0BE001065675 for ; Mon, 29 Jun 2009 13:36:20 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (skuns.zoral.com.ua [91.193.166.194]) by mx1.freebsd.org (Postfix) with ESMTP id 835B98FC1B for ; Mon, 29 Jun 2009 13:36:19 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id n5TDLGj6035728 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 29 Jun 2009 16:21:16 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3) with ESMTP id n5TDLGRk044025; Mon, 29 Jun 2009 16:21:16 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3/Submit) id n5TDLGS9044024; Mon, 29 Jun 2009 16:21:16 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 29 Jun 2009 16:21:16 +0300 From: Kostik Belousov To: pluknet Message-ID: <20090629132116.GZ2884@deviant.kiev.zoral.com.ua> References: <3bbf2fe10906290458v3d57441ar44c4ed8f36c957f@mail.gmail.com> <3bbf2fe10906290611j683a0ddawbd524e406e832d54@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bL2/s+BzS+0mqUOB" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.1 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: Attilio Rao , freebsd-stable Subject: Re: [nfs] process locks in "bo_wwait" on 6.4 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, 29 Jun 2009 13:36:20 -0000 --bL2/s+BzS+0mqUOB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 29, 2009 at 05:18:03PM +0400, pluknet wrote: > 2009/6/29 Attilio Rao : > > 2009/6/29 pluknet : > >> 2009/6/29 Attilio Rao : > >>> 2009/6/29 pluknet : > >>>> 2009/6/26 pluknet : > >>>>> 2009/6/26 pluknet : > >>>>>> Hello. > >>>>>> > >>>>>> While building a module on nfs mounted /usr/src > >>>>>> I got an unkillable process waiting forever in bo_wwait. > >>>>> > >>>>> Small note: iface on NFS server has mtu changed from 1500 to 1450. > >>>>> Can this be a source of the problem? > >>>> > >>>> This is 100% reproducible. Lock in the same place. Any hints? > >>> > >>> Can you also show the value of ps? > >>> A precise map of what processes are doing would give an help. > >>> Also would be useful to printout traces for other threads and not only > >>> the stucked one. > >>> > >> > >> >From another run: > > > > I'm unable to see who would be locking the buffer object in question. > > Do you have INVARIANT_SUPPORT/INVARIANTS on? >=20 > Yes, I do both. >=20 > > What revision of /usr/src/sys/kern/vfs_bio.c are you running with? > > >=20 > As of 6.4-R: CVS rev 1.491.2.12.4.1 / SVN rev 183531. It seems that your changes of MTU cause nfs requests to never reach network. bo_wwait is the state where thread waits for all outstanding i/o on bufobj to drain. --bL2/s+BzS+0mqUOB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkpIv8sACgkQC3+MBN1Mb4iswQCeN0Dmb8ZjyN++8JJJdNa3Jzck ZL8An1Eoq1y4oi/4HJWqUCwAhv2U6lzi =V4YK -----END PGP SIGNATURE----- --bL2/s+BzS+0mqUOB--