From owner-freebsd-stable Sun Apr 5 09:13:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA04322 for freebsd-stable-outgoing; Sun, 5 Apr 1998 09:13:22 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA04313; Sun, 5 Apr 1998 09:13:17 -0700 (PDT) (envelope-from dag-erli@ifi.uio.no) Received: from hrotti.ifi.uio.no (2602@hrotti.ifi.uio.no [129.240.64.15]) by ifi.uio.no (8.8.8/8.8.7/ifi0.2) with ESMTP id SAA27150; Sun, 5 Apr 1998 18:13:07 +0200 (MET DST) Received: (from dag-erli@localhost) by hrotti.ifi.uio.no ; Sun, 5 Apr 1998 18:13:06 +0200 (MET DST) Mime-Version: 1.0 To: stable@FreeBSD.ORG Cc: current@FreeBSD.ORG Subject: Re: swap-leak in 2.2.5 ? References: Your message of "Wed, 01 Apr 1998 07:05:10 -0000." <199804010705.AAA17595@usr02.primenet.com> <199804012207.OAA01425@kithrup.com> Organization: Gutteklubben Terrasse / KRST / PUMS / YASMW X-url: http://www.stud.ifi.uio.no/~dag-erli/ X-Stop-Spam: http://www.cauce.org From: dag-erli@ifi.uio.no (Dag-Erling Coidan =?iso-8859-1?Q?Sm=F8rgrav?= ) Date: 05 Apr 1998 18:13:06 +0200 In-Reply-To: Sean Eric Fagan's message of "Wed, 1 Apr 1998 14:07:31 -0800 (PST)" Message-ID: Lines: 20 X-Mailer: Gnus v5.5/Emacs 19.34 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk Sean Eric Fagan writes: > In article <657.891465523.kithrup.freebsd.current@critter.freebsd.dk> you write: > >The problem is, the kernel cannot account for the twohundred som Mbyte > >of swap space it claims is in use. Even if I kill all processes the > >number doesn't decrease significantly :-( > There is something wrong with -stable. I reported this to John about a month > ago, maybe two (I forget exactly). See the FreeBSD FAQ, section 12.1. I have seen better explanations than the one in the FAQ, but the main thing is: don't worry. It's completely normal for FreeBSD to report lots of swap in use after a while. It's simply a *lot* faster to keep already-linked executables in memory (and move them into swap when memory goes full) rather than throwing them out and having to reload and relink them next time they are invoked, as long as they haven't changed in the meantime. David, I hope my explanation is not too far off? -- fprintf(stderr, "I have a closed mind. It helps keeping the rain out.\n"); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message