From: Jan Wysocki <jan@borg.bt.co.uk>
Subject: Re: Low on swapspace
Date: 2000/02/08 [thread overview]
Message-ID: <389FF12D.1C0DC9A@borg.bt.co.uk> (raw)
In-Reply-To: 389EDF65.C71E1B0@viewlocity.com
Marcus Johansson wrote:
>
> Hi!
>
> I have a Compaq Unix 5.0 server who is constantly complaining about lack
> of swapspace. There is absolutely nothing running on it, and i've
> configured it pretty much default, no strange things at all.
>
> I know this isn't much information, but I don't know what to include..
> Except for this:
>
> # bash-2.03# swapon -s
> Swap partition /dev/disk/dsk0b (default swap):
> Allocated space: 16384 pages (128MB)
> In-use space: 83 pages ( 0%)
> Free space: 16301 pages ( 99%)
>
> Total swap allocation:
> Allocated space: 16384 pages (128.00MB)
> Reserved space: 12677 pages ( 77%)
> In-use space: 83 pages ( 0%)
> Available space: 3707 pages ( 22%)
>
> What is reserved space?
As it suggests, processes have reserved this address space, but are not
currently using it.
They're jus hedging their bets. If you can't increase your swap space,
you might
care to try using 'lazy swap' instead. If the link '/sbin/swapdefault'
exists, rename it
and reboot your machine. With 'lazy swap' processes don't allocate swap
space until they
need to use it. The downside of lazy swap is that it's possible that
you may run out of swap
space at some critical moment. With 'immediate swap' allocation,
processes will fail to start
the moment all swap space has been reserved.
--
Jan
prev parent reply other threads:[~2000-02-08 5:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-02-07 5:00 Low on swapspace Marcus Johansson
2000-02-08 5:00 ` Bob Harris
2000-02-08 5:00 ` Jan Wysocki [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox