Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 May 2005 14:20:59 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        "Chad Leigh -- Shire.Net LLC" <chad@shire.net>
Cc:        Kris Kennaway <kris@obsecurity.org>
Subject:   Re: swap space
Message-ID:  <20050503212059.GA23694@xor.obsecurity.org>
In-Reply-To: <2491CCFD-B6DD-4A29-8023-9E46891DC7A2@shire.net>
References:  <000601c5500e$85b4f3c0$0a01a8c0@ops.cenergynetworks.com> <20050503204542.GB10776@xor.obsecurity.org> <D1E87824-3EDF-4E57-AF92-C1BB6ED668F2@shire.net> <20050503210743.GA11371@xor.obsecurity.org> <2491CCFD-B6DD-4A29-8023-9E46891DC7A2@shire.net>

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

--5vNYLRcllDrimb99
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, May 03, 2005 at 03:15:54PM -0600, Chad Leigh -- Shire.Net LLC wrote:
>=20
> On May 3, 2005, at 3:07 PM, Kris Kennaway wrote:
>=20
> >On Tue, May 03, 2005 at 03:02:11PM -0600, Chad Leigh -- Shire.Net =20
> >LLC wrote:
> >
> >>
> >>On May 3, 2005, at 2:45 PM, Kris Kennaway wrote:
> >>
> >>>Since it's a pain to add swap later you want to make
> >>>allowances for future expansion (e.g. you'd need 32GB of swap if you
> >>>ever plan to add 32GB of RAM).
> >>>
> >>
> >>I understand that people recommend as much swap as you have ram or
> >>more.  However, is this required and why?  I have a dual opteron
> >>system running i386 5.3-release (with released patches) and it has
> >>4GB RAM and only 2GB of swap, which is hardly ever touched, and when
> >>it is, just in small amounts.
> >>
> >>Why is this a problem?  (If it ever needs the 2gb of swap I am in
> >>trouble as the load at that time would be sky high and the machine
> >>not really responsive anyway)
> >>
> >
> >I explained in my email..you need it to dump the kernel.
> >
>=20
> Thanks!
>=20
> Well, on my production system, I am not dumping any kernels.  Once It =20
> crashes, I reboot it and go back into production.  Anything dumped =20
> would get wiped out.  Luckily I am pretty conservative and only move =20
> to new versions of the OS when they have been released a while and so =20
> my machines have not had panics in years.

It's up to you, of course, but it's been my experience that you might
regret the small expenditure of a few gigabytes one day when you do
run into a panic you need help to solve...

Kris

--5vNYLRcllDrimb99
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCd+s6Wry0BWjoQKURAhpNAJoDtJHWmJltmzmA0hVxG/MfYWTGXQCeJ0oi
P4YU3+Wy5joMeTBUamlJlHQ=
=cXAY
-----END PGP SIGNATURE-----

--5vNYLRcllDrimb99--



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