From: saunders@castor.che.wisc.edu (Brian Saunders)
Subject: Re: swap space warning
Date: 1995/04/29 [thread overview]
Message-ID: <saunders-2904951815390001@caspar.che.wisc.edu> (raw)
In-Reply-To: 3nrief$366@tenebris.rutgers.edu
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.
If you don't see yourself using up that 1 GB too often, and want to take a
slight risk, remove /sbin/swapdefault and reboot. You will get a startup
warning about being in deferred swap mode (i.e. lazy swap mode - which
only gets the swap when it needs it). Most of the time, this should not
be a problem, but if you ever fill up all of your physical memory, you
could end up needing over 1.196 GB of swap, and since it won't be
available, it will kill jobs (non-critical usually) indiscriminately so
that there will be enough space.
--
Brian E. Saunders saunders@castor.che.wisc.edu
next prev parent reply other threads:[~1995-04-29 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 [this message]
1995-05-01 4:00 ` George Armhold
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 ` Eric Osborne
1995-05-03 4:00 ` Peter da Silva
1995-05-03 4:00 ` Brian Saunders
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