swapon and memory

From: Derek Gatherer (d.gatherer@vir.gla.ac.uk)
Date: Thu Feb 19 2004 - 12:02:25 EST


Hi

I've had a few replies (thanks), but the consensus is that it is not
possible to tell what my problem is without swapon -s output, so here it is
along with the other two again. Just to recap, the an application using
~240Mb of memory falls over.

> swapon -s
Swap partition /dev/disk/dsk0b (default swap):
     Allocated space: 98304 pages (768MB)
     In-use space: 23559 pages ( 23%)
     Free space: 74745 pages ( 76%)

Total swap allocation:
     Allocated space: 98304 pages (768.00MB)
     Reserved space: 32123 pages ( 32%)
     In-use space: 23559 pages ( 23%)
     Available space: 66181 pages ( 67%)

>top
load averages: 2.32, 2.39, 2.32 12:30:10
68 processes: 3 running, 19 sleeping, 46 idle
CPU states: 64.7% user, 0.0% nice, 35.2% system, 0.0% idle
Memory: Real: 92M/238M act/tot Virtual: 50M/768M use/tot Free: 41M

   PID USERNAME PRI NICE SIZE RES STATE TIME CPU COMMAND
171718 mcge1d 57 0 59M 52M run 18.2H 74.80% mb
173703 gath1d 53 0 5672K 1015K sleep 0:03 22.90% xterm
175517 gath1d 44 0 4016K 1130K run 0:09 0.10% top
168287 gath1d 63 19 17M 12M run 350:36 0.00% perl5.8.0
etc....

>vmstat 5
Virtual Memory Statistics: (pagesize = 8192)
   procs memory pages intr cpu
   r w u act free wire fault cow zero react pin pout in sy cs us
sy id
   5 147 39 17K 5705 7184 27M 3M 12M 195K 4M 47K 93 288 360
62 2 36
   5 147 39 17K 5703 7184 2 14 12 0 25 0 3 11 259
99 1 0
   5 147 39 17K 5702 7184 1 0 0 0 1 0 3 12 258
98 2 0
   5 147 39 17K 5702 7184 0 0 0 0 0 0 5 36 266
99 1 0
   5 147 39 17K 5702 7184 0 0 0 0 0 0 3 10 258
99 1 0
   5 147 39 17K 5702 7184 0 0 0 0 0 0 3 13 264
99 1 0

_________________________

Derek Gatherer Ph.D. Cert.Ed.
Computer Officer
Institute of Virology
Church St.
Glasgow G11 5JR

Phone: +44 141 330 6268
Fax: +44 141 337 2236
Email: d.gatherer@vir.gla.ac.uk
Website: http://www.vir.gla.ac.uk



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:51 EDT