From owner-freebsd-questions@FreeBSD.ORG Wed Jan 28 04:11:36 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E8A9316A4CE for ; Wed, 28 Jan 2004 04:11:36 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-67-119-53-122.dsl.lsan03.pacbell.net [67.119.53.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id D36AC43D39 for ; Wed, 28 Jan 2004 04:11:35 -0800 (PST) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id B85A766C78; Wed, 28 Jan 2004 04:11:34 -0800 (PST) Date: Wed, 28 Jan 2004 04:11:34 -0800 From: Kris Kennaway To: Piotr Gnyp Message-ID: <20040128121134.GA78272@xor.obsecurity.org> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="82I3+IH0IqGh5yIs" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i cc: freebsd-questions@freebsd.org Subject: Re: swap usage X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jan 2004 12:11:37 -0000 --82I3+IH0IqGh5yIs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 28, 2004 at 12:30:14PM +0100, Piotr Gnyp wrote: > Hi. >=20 > Is there a way to make FreeBSD to free the space on swap? >=20 > Mem: 235M Active, 108M Inact, 100M Wired, 23M Cache, 60M Buf, 32M Free > Swap: 500M Total, 256K Used, 500M Free >=20 > The usage of swap is growing during uptime of the server, and even if I > free some additional memory (by killing some apps) the swap file usage > still grows with time. Of course, what you posted doesn't indicate this. Swap is used by processes, so killing the process that is actually using the swap will cause it to be reclaimed. If you think something else is going on, please provide the appropriate details so we can analyse the problem. Kris --82I3+IH0IqGh5yIs Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAF6b2Wry0BWjoQKURAqGvAJwJepqBYsFqMwabZYaETTqFR6EZPwCfbPq7 Sg2W6cVipN5FStipXvh/yPs= =5iVR -----END PGP SIGNATURE----- --82I3+IH0IqGh5yIs--