Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.)
Subject: Re: Q: Running out of swap
Date: 1999/04/29	[thread overview]
Message-ID: <7ga58e$72e$1@nntpd2.cxo.dec.com> (raw)
In-Reply-To: Pine.GSO.3.96.990428231519.27106A-100000@odin


In article <Pine.GSO.3.96.990428231519.27106A-100000@odin>, "Karl N. Matthias" <karmat@matthias.org> writes:

>	I'm a newish Digital/Tru64 UNIX admin though I'm quite experienced
>on Solaris and various BSD's.  I'm running into something which I have
>rarely seen on other systems.  When I run large apps or long compiles (ie
>push the memory limit) I get the following:
>
>swap space below 10 percent free

Digital UNIX (Tru64 UNIX and DEC OSF/1) offers two methods of page
and swap space *reservation*; it does or it doesn't.  The default
is that it does.  When virtual memory is create, that may need
page and swap space, the amount needed is reserved.  This ensures
that if it is needed, it will be available.  The affect is to limit
the amount of virtual memory to the amount of page/swap space
available.  The message you see is a warning that the available
space is about to run out.  Running out will simply prevent the
process from starting or allocating more virtual memory.

The alternative to reserving page and swap space is not to.  To
get this method delete /sbin/swapdefault and reboot.  The advantage
is that the amount of virtual memory that can be created is now
limited by the sum of available and page/swap space.  The risk is
that there may be more virtual memory created than there is page
and swap space for it to be written out.  If a process is paged
or swapped and there isn't enough space for it, idle processes
will be killed to get their space.

If you can reliably control your page/swap space usage, the
non-reservation method offers an opportunity to configure
only as much space as is needed.  If you can't control the
usage, it offers the malicious user an opportunity to deny
service to relatively idle processes.

>Karl
>
>
>

--
Alan Rollow				alan@nabeth.cxo.dec.com




  parent reply	other threads:[~1999-04-29  4:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-04-28  4:00 Q: Running out of swap Karl N. Matthias
1999-04-29  4:00 ` Rostislav Kouznetsov
1999-04-29  4:00 ` Q: " Peter da Silva
1999-04-29  4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes. [this message]
1999-05-07  4:00 ` SHass88010
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