[j-nsp] (M7i RE5.0) memory usage
Alfred Schweder
alf at all.de
Sun Mar 28 05:14:51 EDT 2010
Hello
> > and the system seems to swap, cause less memory. The reaction of the
> > cli has often a slow start which is likely for swapping ...
> > If I look deeper:
> > alf at M7i.ls> show task memory detail
> > Dynamically allocated memory: 335396864 Maximum: 366436352
> > Program data+BSS memory: 4349952 Maximum: 4349952
> > Page data overhead: 2154496 Maximum: 2154496
> > Page directory size: 360448 Maximum: 360448
> > ----------
> > Total bytes in use: 342261760 (55% of available memory)
> The first command is accurate for the entire system, the second is only
> showing stats on some specific junos processes. You're definitely
> (almost) out of memory, the 70M inactive + 14M free is available for
> use, but you're clearly facing pressure since you've already swapped on
> 79M of inactive pages.
> Run top from shell, hit o, and sort by "res" to see what else is
> consuming memory on the box.
So I see in "task memory" was is going on inside the rpd and with
"sysem proc sum" I see the system over all ?
Im wondering, where I waste memory, cause there are many posts which state
that 512MB would be fine for 4 full tables. Ive only three and the 768MB are
full.
Are there are some knobs to reduce the memory consumption like not to use
"softreconfiguration" at cisco boxes ?
last pid: 37745; load averages: 0.01, 0.06, 0.07
68 processes: 1 running, 67 sleeping
CPU states: 16.3% user, 2.4% nice, 6.0% system, 0.8% interrupt, 74.5% idle
Mem: 509M Active, 56M Inact, 148M Wired, 24M Cache, 69M Buf, 4412K Free
Swap: 1536M Total, 118M Used, 1418M Free, 7% Inuse
PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND
1219 root 1 4 0 408M 389M kqread 653:16 1.56% rpd
1222 root 1 111 15 43100K 40116K select 12:52 0.59% sampled
5188 root 1 96 0 34420K 13016K select 1:40 0.00% mgd
5187 alf 1 8 0 15264K 9760K wait 5:00 0.00% cli
13189 root 1 4 0 29680K 8980K kqread 10:45 0.00% rpd
16931 root 1 4 0 29680K 8964K kqread 6:56 0.00% rpd
1212 root 1 4 0 29444K 7848K kqread 10:29 0.00% rpd
1235 root 1 96 0 22408K 7056K select 104:56 0.29% snmpd
1234 root 1 96 0 14836K 6352K select 33:56 0.00% mib2d
1174 root 1 96 0 43204K 6300K select 39.2H 1.17% chassisd
6007 bg 1 96 0 15188K 4800K select 0:52 0.00% cli
1821 alf 1 96 0 15200K 4684K select 0:52 0.00% cli
1342 alf 1 96 0 15188K 4584K select 0:55 0.00% cli
--
Mit freundlichen Gruessen
Dipl. Ing. A. Schweder
Gutachten & Consulting
Mobil +49.177.2194627 (+49.160.97639300)
More information about the juniper-nsp
mailing list