* Summary: Swap problems
@ 1999-09-13 19:35 Frederick, Bill
0 siblings, 0 replies; 2+ messages in thread
From: Frederick, Bill @ 1999-09-13 19:35 UTC (permalink / raw)
To: tru64-unix-managers
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@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
^ permalink raw reply [flat|nested] 2+ messages in thread* SUMMARY: Swap problems
@ 1996-05-19 1:16 goluboff
0 siblings, 0 replies; 2+ messages in thread
From: goluboff @ 1996-05-19 1:16 UTC (permalink / raw)
To: tru64-unix-managers
Okay. I finally was able to make this nagging problem better. Crashes
of the software are much more spaced out than they used to. (and might
be for completely different reasons, I think)
Many thanks to:
"Anthony D'Atri" <aad@nwnet.net>
pobrien@draco.harvard.edu (Patrick O'Brien)
<alan@nabeth.cxo.dec.com>
In fact, my ubc-maxpercent was at 100%, which seems to have been the
problem.
I include Patrick's fix, since it nailed it:
> I have 512MB RAM in an AlphaServer 2100, and I made ubc-maxpercent
> 2%. The other ubc parameters had to be changed accordingly. I don't
> know what is ideal, but the 2% seems OK. New systems I've received
> with 128MB RAM shipped with a 20% value.
>
> Here's how you change it. You output the current values into a
> file in the stanza(4) format, which I'll explain. Then you
> do sysconfigdb -a -f file.stanza, where file.stanza is your stanza(4) file.
> Since the unified buffer cache controls main memory, I reboot
> once the changes are made, though I'm not certain that's necessary.
> The changes made by the sysconfigdb -a -f filename are written
> into /etc/sysconfigtab, which is consulted on subsequent reboots.
>
> sysconfig -q vm > file.stanza
>
> That outputs the current vaules, as you obviously know. Edit
> file.stanza, and prepend the line
>
> vm:
>
> The stanza(4) format just means the subsystem name is the first line,
> and it's followed by a colon, and that subsequent lines up until the
> next colon-delimited line represent value-attribute pairs.
>
> Now you're doing the DEC stanza :-)
>
> Then you edit file.stanza and change the values. There are several
> regarding ubc, and I just made sure that none of them exceeded
> the ubc-maxpercent value.
>
> To enact the change, do
>
> sysconfigdb -a -f file.stanza vm
>
> The sysconfigdb(8) command writes the changes to /etc/sysconfigtab,
> and makes the modifications to the subsystem.
>
> There are also similar parameters regarding swap, which you might want
> to look at. One bug in the sysconfigdb(8) command: it requires that
> /tmp is on the same partition as /etc. I ran into that in DU 3.2B;
> I don't know whether it's been fixed.
-----------------------------------------------------------------------
Mariano Goluboff
PGP public key and blue ribbon link for freedom of speech on:
http://hep-www.Colorado.EDU/~goluboff/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1999-09-13 19:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-09-13 19:35 Summary: Swap problems Frederick, Bill
-- strict thread matches above, loose matches on Subject: below --
1996-05-19 1:16 SUMMARY: " goluboff
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox