Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Dec 2008 16:36:33 +0000
From:      "Daniel Bye" <danielby@slightlystrange.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Simple swap question
Message-ID:  <20081218163632.GE5150@torus.slightlystrange.org>
In-Reply-To: <200812181028.18306.kirk@strauser.com>
References:  <494A693A.5050204@optiksecurite.com> <200812181028.18306.kirk@strauser.com>

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

--uCPdOCrL+PnN2Vxy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Dec 18, 2008 at 10:28:18AM -0600, Kirk Strauser wrote:
> On Thursday 18 December 2008 09:16:10 FreeBSD wrote:
> > Hi everyone,
> >
> > I have a FreeBSD 7.0-Release server that started to swap after an error
> > in a shell script (process spawning competition ;-) ). I killed the
> > shell and the RAM is now OK. The problem is that the swap is still used.
> > How can I "reset" the swap?
>=20
> You don't.  The system will handle it for you, I promise.  :-)

And very well, too.

You can prompt it to move pages back into RAM if you start using a swapped-
out process again - say, for example, a quiescent word processor had been
swapped out, you could get it back by raising it and starting to type.

But as Kirk said, there really is no need. It's one of the kernel's many
jobs, and I'm inclined to leave it get on with it!

Dan

--=20
Daniel Bye
                                                                     _
                                              ASCII ribbon campaign ( )
                                         - against HTML, vCards and  X
                                - proprietary attachments in e-mail / \

--uCPdOCrL+PnN2Vxy
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAklKfBAACgkQixf5fBYiFmoxEwCeLgqB2ioicwhbal3pkT4vID8X
k18AoJBsPS8db3XUwcyUStfNOU2A8hk8
=IxGE
-----END PGP SIGNATURE-----

--uCPdOCrL+PnN2Vxy--



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