swap/memory problem

From: Simon Greaves <Simon.Greaves_at_usp.ac.fj>
Date: Wed, 10 Mar 1999 16:36:11 +1200

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_at_usp.ac.fj
Suva, Fiji
Received on Wed Mar 10 1999 - 04:39:15 NZDT

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