* Understanding swap space
@ 2000-01-14 5:00 Jim West
0 siblings, 0 replies; only message in thread
From: Jim West @ 2000-01-14 5:00 UTC (permalink / raw)
I have some DEC Alpha Personal Workstations that are running Digital
Unix 4.0d. I need to understand something about how they swap. Each
one has 1 GB of memory and 1 GB of swap space available. The file
/sbin/swapdefaults has been removed. We started up a job that allocates
exactly 1 GB of memory. The "top" utility gives a SIZE of the process
as 1130 MB after the allocation. Swapping begins quickly as the memory
is allocated, which is fine. But what I don't understand is that after
a while the system begins complaining that less than 10 % of the swap
space is available, and processes begin dying. Why would all the swap
space be gobbled up if the core+swap is 2 GB and process is only a
1.1 MB? (Eventually it gets to the point where you can only log in from
the console.) Monitoring "top" shows that the SIZE stays at 1130 MB
the whole time, so I don't think there is a memory leak.
Now obviously I should have allocated more swap space when I installed,
but hindsight is 20/20. Is there anyway to allow processes bigger than
the physical memory to run without the swap space filling up with the
current configuration?
If another newsgroup might be more appropriate to ask this question please
let me know. Thanks for any help.
jw
--
James C. West (Jim) jwest@okstate.edu
Associate Professor jwest@emag.ecen.okstate.edu
Electrical and Computer Engineering
Oklahoma State University
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-01-14 5:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-01-14 5:00 Understanding swap space Jim West
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox