Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Swap memory less than 10 percent
@ 2003-01-14  7:51 Markus Pesti
  2003-01-14 16:54 ` Vic Semaska
  0 siblings, 1 reply; 2+ messages in thread
From: Markus Pesti @ 2003-01-14  7:51 UTC (permalink / raw)


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




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Swap memory less than 10 percent
  2003-01-14  7:51 Swap memory less than 10 percent Markus Pesti
@ 2003-01-14 16:54 ` Vic Semaska
  0 siblings, 0 replies; 2+ messages in thread
From: Vic Semaska @ 2003-01-14 16:54 UTC (permalink / raw)


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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-01-14 16:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-14  7:51 Swap memory less than 10 percent Markus Pesti
2003-01-14 16:54 ` Vic Semaska

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox