* host vmunix: Unable to obtain requested swap space
@ 2000-09-12 16:02 User
2000-09-12 17:19 ` waco_johnny_d
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: User @ 2000-09-12 16:02 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1032 bytes --]
I getting the following msgs on /var/adm/messages:
"Sep 11 19:44:03 host vmunix: Unable to obtain requested swap space
Sep 11 19:44:14 host last message repeated 126 times
Sep 11 19:44:14 host vmunix: swap space below 10 percent free
Sep 11 19:44:14 host vmunix: Unable to obtain requested swap space"
The swap area has the following configuration:
"# swapon -s
Swap partition /dev/rz1b (default swap):
Allocated space: 81906 pages (639MB)
In-use space: 881 pages ( 1%)
Free space: 81025 pages ( 98%)
Swap partition /dev/rz1h:
Allocated space: 30614 pages (239MB)
In-use space: 909 pages ( 2%)
Free space: 29705 pages ( 97%)
Total swap allocation:
Allocated space: 112520 pages (879MB)
Reserved space: 22358 pages ( 19%)
In-use space: 1790 pages ( 1%)
Available space: 90162 pages ( 80%)"
I�m a newbie to Digital Unix, how can I increase the swap area?
best regards,
Andr�
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: host vmunix: Unable to obtain requested swap space
2000-09-12 16:02 host vmunix: Unable to obtain requested swap space User
@ 2000-09-12 17:19 ` waco_johnny_d
2000-09-13 1:26 ` Eric Bennett
2000-09-13 10:37 ` waco_johnny_d
2 siblings, 0 replies; 4+ messages in thread
From: waco_johnny_d @ 2000-09-12 17:19 UTC (permalink / raw)
You may not need to. Use the "collect/collgui" tool to monitor your
long-term memory usage. If your swap usage remains consistently low,
you can probably get by with lazy swap (you are probably running
immediate swap now). See the swapon man page.
In the V4 stream you make the change by removing a soft link. In the V5
stream you make a 1-line change in sysconfigtab. The man page for your
O.S. will explain it, along with the benefits and caveats of each
method. It's a piece o' cake to change.
The reason for the messages, by the way, is not to let you know that the
O.S is running short on swap but rather to alert you to the fact that it
can't GUARANTEE you'll have all the swap space you MIGHT need based on
the current configuration.
On all my test systems I run lazy swap and run memory usage right up to
within about 4K pages of memory exhaustion with no ill effects, FWIW.
That's on V5.
Good luck,
WJD
Sent via Deja.com http://www.deja.com/
Before you buy.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: host vmunix: Unable to obtain requested swap space
2000-09-12 16:02 host vmunix: Unable to obtain requested swap space User
2000-09-12 17:19 ` waco_johnny_d
@ 2000-09-13 1:26 ` Eric Bennett
2000-09-13 10:37 ` waco_johnny_d
2 siblings, 0 replies; 4+ messages in thread
From: Eric Bennett @ 2000-09-13 1:26 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1408 bytes --]
In article <8plkfg$8fu$1@venus.telepac.pt>, "User" <user@tp.telepac.pt>
wrote:
> I�m a newbie to Digital Unix, how can I increase the swap area?
Depending on what you're doing you might not need to worry about
increasing the swap.
For example, if the amount of swap you have is about the same, or less
than, the amount of RAM, you may get these messages if the system pages
out a lot of processes so that it can free up RAM to use as a disk
cache. In that case the machine may say it's getting low on swap, but
it's not in danger of running out of memory because it could very easily
decrease its disk buffers without significantly harming performance. I
see this behavior when I copy large files... it swaps out my inactive
xterm windows and increases the disk buffers. But I'm not repeatedly
accessing these files, so the caching is pointless, and I don't worry if
a low swap space message pops up.
You said you have 879 megs of swap. So if you had, say, 768 megs of RAM
and a lot of idle processes with lots of allocated memory, I wouldn't be
too surprised if the machine got low on swap while trying to maximize
its disk buffers during intesive I/O.
--
Eric Bennett ( http://www.pobox.com/~ericb/ )
Cornell University / Chemistry & Chemical Biology
Lighthouse, n. A tall building on the seashore in which the government
maintains a lamp and the friend of a politician.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: host vmunix: Unable to obtain requested swap space
2000-09-12 16:02 host vmunix: Unable to obtain requested swap space User
2000-09-12 17:19 ` waco_johnny_d
2000-09-13 1:26 ` Eric Bennett
@ 2000-09-13 10:37 ` waco_johnny_d
2 siblings, 0 replies; 4+ messages in thread
From: waco_johnny_d @ 2000-09-13 10:37 UTC (permalink / raw)
After reading Eric's message I just did the forehead slap. Your
disk-buffer settings are probably way too high, and the
swap-space-forecasting algorithm is probably taking them into account.
So in addition to what I recommended in .1, please drop your UBC
parameters and the AdvFS cache size as well, as appropriate for your
filesystem types, system size, and workload. The tuning guide will have
descriptions of all the settings.
Don't "shotgun" the UBC settings. They need to be adjusted as a group
so they maintain a specific relationship to each other. A common
mistake is to drop ubc_maxpercent way down and fail to adjust downward,
in a relative fashion, the other UBC params. I have seen this throw a
monkey wrench into the gears of the VM subsystem, so watch out.
Apologies for having forgotten to mention this before, and thanks to
Eric for jogging my memory.
If you want to describe your system and your workload and place the
output of sys_check (run while the system is under its maximum usual
load) in this thread, I'll give you some reasonable values for the above
params. At least it'll give you a starting point.
Sys_check is available at
http://www.tru64unix.compaq.com/sys_check/sys_check.html
Sent via Deja.com http://www.deja.com/
Before you buy.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2000-09-13 10:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-09-12 16:02 host vmunix: Unable to obtain requested swap space User
2000-09-12 17:19 ` waco_johnny_d
2000-09-13 1:26 ` Eric Bennett
2000-09-13 10:37 ` waco_johnny_d
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox