Subject: Re: What's in my swap
To: Martin Husemann <martin@duskware.de>
From: Daniel Carosone <dan@geek.com.au>
List: current-users
Date: 08/01/2006 20:43:59
--cjVziHhGDpplWqiR
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Aug 01, 2006 at 12:31:01PM +0200, Martin Husemann wrote:
> On Tue, Aug 01, 2006 at 12:27:21PM +0200, Joel CARNAT wrote:
> > I'd like to know why my (server) machine uses swap.
> > I checked 'top' and 'vmstat' but didn't find any information related to
> > content.
>=20
> I think you are asking yourself the wrong question. Applications do not u=
se
> swap, the system uses swap when a lot of memory is allocated by applicati=
ons.

Not only then - or rather, not only by applications.=20

Very-idle processes can get paged out in favour of using the memory
for disk cache, too.  This is probably what's happening if you
wouldn't otherwise have expected anything to swap.

--
Dan.
--cjVziHhGDpplWqiR
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (NetBSD)

iD8DBQFEzzBvEAVxvV4N66cRAhzyAKCY/351QY9Jff89NAB5r+BUPS5j6wCg2Yzl
ejUGJj1CBAs2+VxvZMt35uo=
=A3mi
-----END PGP SIGNATURE-----

--cjVziHhGDpplWqiR--