From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079038515607.tru64-unix-managers.marc@archive.invalid> From: Simon Greaves Date: Wed, 10 Mar 1999 23:28:49 +0000 To: tru64-unix-managers Subject: SUMMARY: swap/memory problem X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079038515607 Loads of responses to this, thanks. Basically all confirmed what I thought which was I needed more swap. Several people suggested switching to swap over-commitment mode, but I don't want to do this because of the problems when it runs out of space (this is a student machine, it's use varies wildly). Fortunately, due to an error when the machine was originally configured, there was a spare partition hidden in LSM, so I've removed it and dropped it in as additional swap. This fixes the problem. The main point I had overlooked was the UBC which is consuming memory but which will readily release it. Thanks again, Simon ------ Original message ----- Hi, I have an AS1000, students have just returned and it's exhibiting some memory problems. At first I thought it was a lack of swap, but looking further I'm not so sure, so wondered if anyone would be kind enough to enlighten me a little. >From top, a typical display: load averages: 1.16, 0.68, 0.60 16:08:27 231 processes: 2 running, 78 sleeping, 151 idle CPU states: 26.1% user, 0.0% nice, 9.7% system, 64.1% idle Memory: Real: 89M/244M act/tot Virtual: 173M/488M use/tot Free: 960K swap space below 10 percent free Don't really understand the memory figures here. I assumed this meant 89M real memory active, 244M total real memory, 173M virtual memory in use, 488M total virtual memory. If so why is only 960K free? Why does it report only 173M virtual memory in use? and from swapon -s: Swap partition /dev/rz0b (default swap): Allocated space: 62512 pages (488MB) In-use space: 26143 pages ( 41%) Free space: 36369 pages ( 58%) Total swap allocation: Allocated space: 62512 pages (488MB) Reserved space: 61930 pages ( 99%) In-use space: 26143 pages ( 41%) Available space: 582 pages ( 0%) Same question really - why the first section claims 58% is free whilst the available space is 0. I also tried Performance Manager, which seemed to show that only 40% of swap was used, 300Mb was free, but that I had 0 pages of paging memory left. Bottom line - does it look like adding swap will fix the problem? I think so, but I'd appreciate comments on this before I start. Thanks, Simon -- Simon Greaves voice: (+679) 212114 Computer Centre fax: (+679) 304089 The University of the South Pacific email: Simon.Greaves@usp.ac.fj Suva, Fiji