Summary: Swap problems

From: Frederick, Bill <Isdwcf_at_cgcu.com>
Date: Mon, 13 Sep 1999 14:35:24 -0500

Thanks to quick answers from:

Jim Bostwick
Dave Brady
Allan Simeone
Ram Rao
Alan from Compaq
Jon Vaupel

The issue with 90+% free on each disk, but only 13% available is due to
processes reserving space before they actually need to use it. The
overwhelming recommendation is to add more swap space (for me that means
adding more disk) or change to lazy swap mode. Changing to lazy swap mode
is done by removing the soft link at /sbin/swapdefault and then rebooting
the machine. Jim politely told me this was explained in chapter 7 of the
Digital UNIX Sys Admin guide (RTFM, sorry). However, lazy swap mode can be
dangerous if the system really runs out of swap space.

Ram suggested I check vmstat output for page-out (pout) activity. If there
is significant page-out, additional RAM would probably help. If not,
additional swap space would be sufficient.

Thanks again

-----Original Message-----
From: Frederick, Bill [mailto:Isdwcf_at_cgcu.com]
Sent: Monday, September 13, 1999 1:33 PM
To: Tru64 Unix Managers (E-mail)
Subject: Swap problems


I started getting the infamous "swap space below ten percent free" this
morning. When I run swapon -s this is what I get:

Swap partition /dev/re0b (default swap):
    Allocated space: 62716 pages (489MB)
    In-use space: 5128 pages ( 8%)
    Free space: 57588 pages ( 91%)

Swap partition /dev/re8c:
    Allocated space: 65280 pages (510MB)
    In-use space: 4923 pages ( 7%)
    Free space: 60357 pages ( 92%)


Total swap allocation:
    Allocated space: 127996 pages (999MB)
    Reserved space: 110212 pages ( 86%)
    In-use space: 10051 pages ( 7%)
    Available space: 17784 pages ( 13%)

Why does each partition show 90+% free but the total available free is 13%?
I know I've seen this question asked before, but I searched the archives and
really found no answer to this problem. Should I consider buying more RAM?

Thanks,

Bill Frederick
 
Received on Mon Sep 13 1999 - 19:38:01 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:39 NZDT