From owner-freebsd-questions@FreeBSD.ORG Tue Feb 15 19:30:24 2005 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 B87E116A4D4 for ; Tue, 15 Feb 2005 19:30:24 +0000 (GMT) Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 212DD43D69 for ; Tue, 15 Feb 2005 19:30:19 +0000 (GMT) (envelope-from nkinkade@fastmail.fm) Received: from frontend3.messagingengine.com (frontend3.internal [10.202.2.152]) by frontend1.messagingengine.com (Postfix) with ESMTP id 06190C57FE2; Tue, 15 Feb 2005 14:30:18 -0500 (EST) X-Sasl-enc: ugjN49Oq//vGqBP/FBlOug 1108495818 Received: from gentoo-npk.bmp.ub (unknown [206.27.244.136]) by www.fastmail.fm (Postfix) with ESMTP id D274628482; Tue, 15 Feb 2005 14:30:17 -0500 (EST) Received: from nkinkade by gentoo-npk.bmp.ub with local (Exim 4.21) id 1D0n4a-00077H-Fp; Mon, 14 Feb 2005 14:44:00 -0600 Date: Mon, 14 Feb 2005 14:44:00 -0600 From: Nathan Kinkade To: John Message-ID: <20050214204400.GS8365@gentoo-npk.bmp.ub> Mail-Followup-To: John , freebsd-questions@freebsd.org References: <20050214022404.M90640@reiteration.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4CyH/NlNBqvsUTYP" Content-Disposition: inline In-Reply-To: <20050214022404.M90640@reiteration.net> X-PGP-Fingerprint: 3FDF A406 B149 3959 A8CB C5A9 3B46 4812 D852 7E49 User-Agent: Mutt/1.5.6i Sender: cc: freebsd-questions@freebsd.org Subject: Re: Disappearing Swap X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Nathan Kinkade List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Feb 2005 19:30:25 -0000 --4CyH/NlNBqvsUTYP Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 14, 2005 at 02:35:18AM +0000, John wrote: > Hello list >=20 > How can I see what process is eating my swap? vmstat indicates that the s= wap > is being eaten, but by what? If it all gets eaten, badness occurs.=20 > I'm running freebsd 5.3-release-p5.=20 >=20 > thanks for any input A good start would be to just look at the output of `ps aux` and to focus on the memory related columns: %MEM VSZ RSS. Take special note of which processes are using large portions of memory. Use can also use top(1) and then sort based on memory usage. I guess I'm suggesting that rather than trying to figure out what is using all your swap, to turn the search around and try to find what is using all your physical memory such that intense swapping becomes necessary. Nathan --4CyH/NlNBqvsUTYP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFCEQ2QO0ZIEthSfkkRAu+JAKDt7GT/Dr8qEIJi8GS0Lhgv756twACgoepV ZBC8a171xiHkLcuoS9knXAM= =oc0g -----END PGP SIGNATURE----- --4CyH/NlNBqvsUTYP--