Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 May 2004 23:04:52 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Craig Boston <craig@xfoil.gank.org>
Cc:        current@freebsd.org
Subject:   Re: Swapping over ggate?
Message-ID:  <20040519210452.GB845@darkness.comp.waw.pl>
In-Reply-To: <200405191112.10072.craig@xfoil.gank.org>
References:  <200405191112.10072.craig@xfoil.gank.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040519210452.GB845>