From owner-freebsd-current@FreeBSD.ORG Wed May 19 14:05:21 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 90F1E16A4CE for ; Wed, 19 May 2004 14:05:21 -0700 (PDT) Received: from darkness.comp.waw.pl (darkness.comp.waw.pl [195.117.238.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2AB1743D3F for ; Wed, 19 May 2004 14:05:21 -0700 (PDT) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id D90ABACAF1; Wed, 19 May 2004 23:04:52 +0200 (CEST) Date: Wed, 19 May 2004 23:04:52 +0200 From: Pawel Jakub Dawidek To: Craig Boston Message-ID: <20040519210452.GB845@darkness.comp.waw.pl> References: <200405191112.10072.craig@xfoil.gank.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7jqT8Da4nx9Bbawl" Content-Disposition: inline In-Reply-To: <200405191112.10072.craig@xfoil.gank.org> User-Agent: Mutt/1.4.2i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 5.2.1-RC2 i386 cc: current@freebsd.org Subject: Re: Swapping over ggate? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 May 2004 21:05:21 -0000 --7jqT8Da4nx9Bbawl Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 19, 2004 at 11:12:09AM -0500, Craig Boston wrote: +> Just curoius if anybody has tried playing with swap over ggate? +>=20 +> I thought I'd be clever and try to use it as a better workaround for the= vinum=20 +> swap problem... i.e. instead of running it through md(4) and a filesyst= em,=20 +> do something like: +>=20 +> ggatel create /dev/vinum/swap +> swapon /dev/ggate0 +>=20 +> That seemed to attach just fine. However, doing something like +>=20 +> dd if=3D/dev/zero of=3D/dev/null bs=3D256m count=3D2 +>=20 +> to provoke some swapping caused the system to freeze. It was kind of we= ird=20 +> for a minute -- I could still ping it and switch windows in screen, but = the=20 +> shell wouldn't respond to any commands. Eventually it stopped respondin= g to=20 +> pings altogether and the ssh connection died. Seemed like a VM deadlock= , but=20 +> unfortunately I was remote at the time and couldn't try to break in to D= DB at=20 +> the console. +>=20 +> Funny thing was that after a reboot I did the same thing and it worked f= ine. =20 +> If I'm able to reproduce the freeze again I'll try to get ps and backtra= ce=20 +> and all that good stuff. The biggest problem in your situation is that ggatel(8) works as a userland process and I think there is a 100% deadlock when system is trying to swap ggatel process out. --=20 Pawel Jakub Dawidek http://www.FreeBSD.org pjd@FreeBSD.org http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am! --7jqT8Da4nx9Bbawl Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAq8v0ForvXbEpPzQRAtD8AKCyS2Ul+DEutY7mxxgI7Zf/GyTuogCgnJVO mI7P5nJ6ZODLTO+gwX+raiw= =KKNH -----END PGP SIGNATURE----- --7jqT8Da4nx9Bbawl--