From owner-freebsd-questions@FreeBSD.ORG Thu Dec 18 16:36:52 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC5851065670 for ; Thu, 18 Dec 2008 16:36:52 +0000 (UTC) (envelope-from danielby@slightlystrange.org) Received: from mtaout03-winn.ispmail.ntl.com (mtaout03-winn.ispmail.ntl.com [81.103.221.49]) by mx1.freebsd.org (Postfix) with ESMTP id 6654B8FC13 for ; Thu, 18 Dec 2008 16:36:52 +0000 (UTC) (envelope-from danielby@slightlystrange.org) Received: from aamtaout02-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout03-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20081218163640.QCEF7670.mtaout03-winn.ispmail.ntl.com@aamtaout02-winn.ispmail.ntl.com> for ; Thu, 18 Dec 2008 16:36:40 +0000 Received: from catflap.slightlystrange.org ([82.21.101.171]) by aamtaout02-winn.ispmail.ntl.com (InterMail vG.2.02.00.01 201-2161-120-102-20060912) with ESMTP id <20081218163639.ZGRG21638.aamtaout02-winn.ispmail.ntl.com@catflap.slightlystrange.org> for ; Thu, 18 Dec 2008 16:36:39 +0000 Received: by catflap.slightlystrange.org (Postfix, from userid 106) id 1EEDB6133; Thu, 18 Dec 2008 16:36:34 +0000 (GMT) Received: from torus.slightlystrange.org (torus.slightlystrange.org [10.1.3.50]) by catflap.slightlystrange.org (Postfix) with SMTP id 761E56131 for ; Thu, 18 Dec 2008 16:36:33 +0000 (GMT) Received: by torus.slightlystrange.org (sSMTP sendmail emulation); Thu, 18 Dec 2008 16:36:33 +0000 From: "Daniel Bye" Date: Thu, 18 Dec 2008 16:36:33 +0000 To: freebsd-questions@freebsd.org Message-ID: <20081218163632.GE5150@torus.slightlystrange.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <494A693A.5050204@optiksecurite.com> <200812181028.18306.kirk@strauser.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="uCPdOCrL+PnN2Vxy" Content-Disposition: inline In-Reply-To: <200812181028.18306.kirk@strauser.com> User-Agent: Mutt/1.4.2.3i X-PGP-Fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A X-Operating-System: FreeBSD 7.1-PRERELEASE i386 X-Cloudmark-Analysis: v=1.0 c=1 a=ehNlctqhnw0A:10 a=ExFMSMIcwY7GJdhV7s8A:9 a=MSgGWE53kdxkUETe1onDsTOKJEQA:4 a=LY0hPdMaydYA:10 a=d1586Y2FSBg6HZY1xJoA:9 a=mBkkqFNeB_zl2Xol5u9lHHnzcr4A:4 a=rPt6xJ-oxjAA:10 Subject: Re: Simple swap question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Bye List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Dec 2008 16:36:52 -0000 --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--