* swapon and memory
@ 2004-02-17 12:57 Derek Gatherer
0 siblings, 0 replies; 3+ messages in thread
From: Derek Gatherer @ 2004-02-17 12:57 UTC (permalink / raw)
Hi Managers
I have a user running an application called 'mb' from a DEC Alphastation
255, running Tru64 5.1B with Patchkit 3 installed.
Nothing much else runs on this machine:
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....
mb requires about 60Mb of memory, according the the supplier. However it
has an advanced mode that requires about 4 times this, and that won't run
under present conditions (it just halts saying that insuffucient resources
are available)
>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
How can I adjust this to increase available memory? According to my
textbooks, w is quite large here. Also I believe that I can't just use
swapon on tru64 in the same way as, say, Irix.
All suggestions gratefully received.
Cheers
Derek
_________________________
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* swapon and memory
@ 2004-02-19 17:02 Derek Gatherer
0 siblings, 0 replies; 3+ messages in thread
From: Derek Gatherer @ 2004-02-19 17:02 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 3+ messages in thread* swapon and memory
@ 2004-02-20 14:31 Derek Gatherer
0 siblings, 0 replies; 3+ messages in thread
From: Derek Gatherer @ 2004-02-20 14:31 UTC (permalink / raw)
Again thanks for the replies - the consensus is that I am still not
provinding enough info. To rectify that, here is vmstat showing what
happens at the point of application crash. The memory-hungry app goes up
and down at about the point 619 appears in the cow column. top is too slow
to capture the event.
> vmstat 1
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
3 156 38 21K 3207 5811 456K 70K 257K 0 77K 0 37 671 355
28 1 71
3 156 38 21K 3206 5811 2 15 21 0 28 0 27 70
307 0 0 100
3 156 38 21K 3206 5811 0 0 0 0 0 0 25 59
315 0 0 100
5 154 38 21K 3206 5811 0 0 0 0 0 0 57 354 352
88 0 12
3 156 38 21K 3206 5811 0 0 0 0 0 0 66 227 416
16 1 84
3 156 38 21K 3152 5819 619 0 0 0 0 0
599 1K 1K 5 5 91
3 156 38 21K 3152 5819 0 39 150 0 64 0 49 96
358 0 0 100
3 156 38 21K 3151 5820 0 0 0 0 0 0 4 35
265 0 0 100
5 154 38 21K 3151 5820 0 0 0 0 0 0 34 135
335 0 0 100
Here are 2 other relevant things.
> ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 131072
stack(kbytes) 8192
memory(kbytes) 243792
coredump(blocks) unlimited
nofiles(descriptors) 4096
vmemory(kbytes) 4194304
> sysconfig -q proc
proc:
max_proc_per_user = 512
max_threads_per_user = 1024
per_proc_stack_size = 8388608
max_per_proc_stack_size = 33554432
per_proc_data_size = 134217728
max_per_proc_data_size = 1073741824
max_per_proc_address_space = 4294967296
per_proc_address_space = 4294967296
executable_stack = 0
autonice = 0
autonice_time = 600
autonice_penalty = 4
open_max_soft = 4096
open_max_hard = 4096
ncallout_alloc_size = 8192
round_robin_switch_rate = 0
sched_min_idle = 0
give_boost = 1
maxusers = 256
num_wait_queues = 256
num_timeout_hash_queues = 256
enhanced_core_name = 0
enhanced_core_max_versions = 16
exec_disable_arg_limit = 0
dump_cores = 1
dump_setugid_cores = 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-02-20 14:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-17 12:57 swapon and memory Derek Gatherer
-- strict thread matches above, loose matches on Subject: below --
2004-02-19 17:02 Derek Gatherer
2004-02-20 14:31 Derek Gatherer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox