Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: armhold@tenebris.rutgers.edu (George Armhold)
Subject: Re: swap space warning
Date: 1995/05/01	[thread overview]
Message-ID: <3o34dd$41o@tenebris.rutgers.edu> (raw)

saunders@castor.che.wisc.edu (Brian Saunders) writes:

:In article <3nrief$366@tenebris.rutgers.edu:, armhold@tenebris.rutgers.edu
:(George Armhold) wrote:

:: We have a Sable 2100 with 1 GB of real memory.  It's configured with
:: 196MB swap on it's primary disk, and 1GB swap on a second disk.  I
:: keep getting syslog (I assume it's syslog) warnings: "swap space below
:: 10 percent free", when there is really plenty of swap space available,
:: as shown by vmstat and top.  Perhaps whatever prints this message only
:: considers the primary swap device when deciding when to generate the
:: warning?

:1 GB Memory!?!?!?  And you are asking us for advice? :^)

:Are you in lazy or eager swap mode?  In other words, is there a file named
:/sbin/swapdefault?  If so, the computer reserves swap space for jobs when
:they are executed, rather than on a need basis.  In situations like this,
:you usually need at least 2 times the physical memory as swap space to
:avoid this.

Eager swap mode, with swapdefault pointing to the 196MB swap
partition. The general "rule of thumb" in swap space allocation is 2 X
phys mem, however given that we have 1GB of real memory we don't
really expect to need a 2GB address space (then again, ...)  I could
increase the swap space, however I don't think this will solve the
problem since we're seeing the messages well before we're at the 10
percent level.  My guess is that whatever generates the warnings isn't
considering the fact that swap is spread out over two devices.

Oh, and I forget to mention in my original posting that this was with
OSF/1 3.2.

-George



         reply	other threads:[~1995-05-01  4:00 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-04-28  4:00 swap space warning George Armhold
1995-04-29  4:00 ` Brian Saunders
1995-05-01  4:00   ` George Armhold [this message]
1995-05-03  4:00 ` Daniel S. Riley
1995-05-04  4:00   ` George Armhold
1995-05-04  4:00 ` Daniel S. Riley
1995-05-05  4:00   ` George Armhold
     [not found] <3nrief$366@tenebris.rutgers.edu: <saunders-2904951815390001@caspar.che.wisc.edu: <3o34dd$41o@tenebris.rutgers.edu>
1995-05-02  4:00 ` Brian Saunders
1995-05-03  4:00   ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1995-05-03  4:00     ` Brian Saunders
1995-05-03  4:00 ` Peter da Silva
1995-05-03  4:00   ` Brian Saunders
1995-05-03  4:00 ` Eric Osborne
1995-05-04  4:00 ` George Chaltas
1995-05-10  4:00   ` Siggy Hensel
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