From: Vic Semaska <semask@sysof.ctstate.edu>
Subject: Re: Swap memory less than 10 percent
Date: Tue, 14 Jan 2003 11:54:29 -0500 [thread overview]
Message-ID: <3E2440C5.F6D74A2E@sysof.ctstate.edu> (raw)
In-Reply-To: b00fi3$a2d$1@news.online.de
Markus Pesti wrote:
> Since I have updated OS from ver. 4.0 to 5.1A I get the message 'Swap memory
> less than 10 percent'. The physical memory is 1280 MB and the swap partition
> is about 1600 MB. Is there a chance to avoid this? Before updating OS the
> system had only 256 MB physical memory and the same size for the swap
> partition. But I had never these problems.
>
> Markus
You increased physical memory without increasing the size of your swapfile.
Rule of thumb is the swapfile should be 2-3 times the size of physical memory.
You can do either of two things.
1) Increase the size of the swapfile or add another swapfile.
2) It sounds like swap mode is set to eager which reserves space even when it's
not needed. You can switch it to 'lazy' mode where it reserves space only when
needed. In V5.1A this is a vm parameter called vm-swap-eager which is set to 1
when in eager mode. Set it to 0 for lazy mode. Note that you take the risk of
having the system delete processes *at random* should the swapfile fill up.
Therefore, option 1 is much preferred.
man swapon, sysconfig, sysconfigdb, sysconfigtab for more details.
Vic
prev parent reply other threads:[~2003-01-14 16:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-14 7:51 Swap memory less than 10 percent Markus Pesti
2003-01-14 16:54 ` Vic Semaska [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