*BSD News Article 88096


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!goanna.cs.rmit.edu.au!news.apana.org.au!cantor.edge.net.au!news.teragen.com.au!news.access.net.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.erols.net!newspump.sol.net!newsfeeds.sol.net!nntp.uio.no!news.apfel.de!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Swapping problems ?
Date: 1 Feb 1997 00:49:29 GMT
Organization: Private BSD site, Dresden
Lines: 32
Message-ID: <5cu3up$6fc@uriah.heep.sax.de>
References: <5cmfgn$5ql@vixen.cso.uiuc.edu>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:34892

igor@students.uiuc.edu (igor vladimirovich roshchin) wrote:

> Swap: 225M Total, 64K Used, 225M Free

> #swapinfo
> Device      512-blocks     Used    Avail Capacity  Type
> /dev/wd0s1b     450560        0   450432     0%    Interleaved

> This computer hangs or reboots if I start compiling something big
> (say, the kernel, or "make world")

That's sad, but that's more likely a hardware problem.

> I think, the problem is in swap management.

I think, you are wrong.

> Notice the discrepency between different diagnostics..

There's not much of discrepancy, your swap space is simply idle (yet).
The first 64 KB of the swap area are never used (to avoid clobbering a
disklabel that might happen to be there).  Apparently, top displays
them as being in use, while swapinfo (or systat) even denies they are
available for swapping at all.  But that's indeed the only difference
between both.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)