Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Apr 1998 18:33:54 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        dag-erli@ifi.uio.no (Dag-Erling Coidan =?iso-8859-1?Q?Sm=F8rgrav?= )
Cc:        stable@FreeBSD.ORG, current@FreeBSD.ORG
Subject:   Re: swap-leak in 2.2.5 ? 
Message-ID:  <7866.891794034@critter.freebsd.dk>
In-Reply-To: Your message of "05 Apr 1998 18:13:06 %2B0200." <xzplntk6yct.fsf@hrotti.ifi.uio.no> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <xzplntk6yct.fsf@hrotti.ifi.uio.no>, Dag-Erling Coidan =?iso-8859-1?Q?Sm=F8rgrav?= writes:
>Sean Eric Fagan <sef@kithrup.com> writes:
>> In article <657.891465523.kithrup.freebsd.current@critter.freebsd.dk> you w
>rite:
>> >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 mon
>th
>> 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?

It is, for that case the kernel >can< account for the swap used
when you look in the various and sundry reports available, in
this case it doesn't seem to be able to tell you where it has gone.

--
Poul-Henning Kamp             FreeBSD coreteam member
phk@FreeBSD.ORG               "Real hackers run -current on their laptop."
"Drink MONO-tonic, it goes down but it will NEVER come back up!"

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7866.891794034>