From owner-freebsd-stable@FreeBSD.ORG Fri Nov 18 00:01:06 2005 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 1160016A41F for ; Fri, 18 Nov 2005 00:01:06 +0000 (GMT) (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 C6AF943D45 for ; Fri, 18 Nov 2005 00:01:05 +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 942741A3C2F; Thu, 17 Nov 2005 16:01:05 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 3553C519E6; Thu, 17 Nov 2005 19:01:04 -0500 (EST) Date: Thu, 17 Nov 2005 19:01:03 -0500 From: Kris Kennaway To: Rob Message-ID: <20051118000103.GA31711@xor.obsecurity.org> References: <20051115103821.GJ39882@cirb503493.alcatel.com.au> <20051117225213.60430.qmail@web36203.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tThc/1wpZn/ma/RB" Content-Disposition: inline In-Reply-To: <20051117225213.60430.qmail@web36203.mail.mud.yahoo.com> User-Agent: Mutt/1.4.2.1i Cc: PeterJeremy@optushome.com.au, FreeBSD Stable Subject: Re: Swapfile problem in 6? 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: Fri, 18 Nov 2005 00:01:06 -0000 --tThc/1wpZn/ma/RB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 17, 2005 at 02:52:12PM -0800, Rob wrote: > --- Peter Jeremy wrote: > >=20 > > Basically, wait until your system deadlocks. BREAK > > into DDB. > > As a start, run 'show lockedvnods', 'ps'. My guess > > is that you'll see a lock that has a number of > waiters > > which is probably the culprit. > > Use 'panic' to get a crashdump and then you can use > > kgdb to rummage around once you reboot > >=20 > > If in doubt, post the output from the above commands > > here and someone will hopefully provide further > input. >=20 > The output is here: > http://surfion.snu.ac.kr/~lahaye/swapfile.txt >=20 >=20 > A swapfile is only swap device: > /swapfile of 128 MB on /dev/ad0s1a as /dev/md0 >=20 > At time of deadlock: > swapdevice used 13% >=20 > Serial console gets exactly this line every few > seconds: > swap_pager: indefinite wait buffer: bufobj: 0, blkno: > 4317, size: 4096 >=20 >=20 > Do you understand this? I commented on it elsewhere in this thread. Kris --tThc/1wpZn/ma/RB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDfRm+Wry0BWjoQKURAlw+AKCqUkM01ggeF1vm2Aig28Cd35HslwCeMwqB LO1Fe4CE0JdRv4t25zex5CU= =0aoJ -----END PGP SIGNATURE----- --tThc/1wpZn/ma/RB--