[j-nsp] Juniper M20 memory problem
Nicolaj Kamensek
nk at accelerated.de
Sun Jun 10 09:24:44 EDT 2007
Josef Buchsteiner wrote:
Hi Josef,
> show version
> show system virtual-memory
the output is below. But meanwhile of course I had to fix the problem
and therefore moved some Gateway IPs to a different router to decrease
the arp count from 7200 to 5611 currently. I had to reboot the SSB-E to
free the memory but at least it is working now.
nico at re0> show version
Hostname: re0
Model: m20
JUNOS Base OS boot [7.6R1.10]
JUNOS Base OS Software Suite [7.6R1.10]
JUNOS Kernel Software Suite [7.6R1.10]
JUNOS Packet Forwarding Engine Support (M20/M40) [7.6R1.10]
JUNOS Routing Software Suite [7.6R1.10]
JUNOS Online Documentation [7.6R1.10]
JUNOS Crypto Software Suite [7.6R1.10]
nico at re0> show system virtual-memory
Memory statistics by bucket size
Size In Use Free Requests HighWater Couldfree
16 196393 183767 2355256898 1280 1140495
32 30503 249817 1418360018 640 298805
64 460785 515407 1405666746 320 1857754
128 20788 244748 686148930 160 944141
256 21129 11255 992196792 80 1145025
512 113 15 340207290 40 0
1K 81 7 105736 20 52
2K 195 87 17036 10 3309
4K 17 10 55228 5 1744
8K 73 5 87868 5 669
16K 8 0 15 5 0
32K 12 0 2281 5 0
64K 18 0 18 5 0
128K 5 0 5 5 0
256K 2 0 2 5 0
512K 1 0 1 5 0
Memory usage type by bucket size
Size Type(s)
16 uc_devlist, nexusdev, iftable, temp, devbuf, atexit, COS, BPF,
DEVFS mount, DEVFS node, vnodes, mount, pcb, soname,
proc-args, kld,
MD disk, rman, ATA generic, bus, sysctl, pfestat, ifstate,
pfe_ipc,
mkey, rtable, ifmaddr, ipfw, rnode
32 atkbddev, dirrem, mkdir, diradd, freefile, freefrag, indirdep,
bmsafemap, newblk, temp, devbuf, tseg_qent, COS, vnodes,
cluster_save buffer, pcb, soname, proc-args, sigio, kld, Gzip
trees,
taskqueue, SWAP, eventhandler, bus, sysctl, uidinfo, subproc,
pgrp,
ippool, pfestat, itable32, ifstate, pfe_ipc, mkey, rtable,
ifmaddr,
ipfw, ifdevice, iflist, rnode, rtnexthop
64 isadev, ip6ndp, MFS node, allocindir, allocdirect, pagedep, temp,
devbuf, lockf, COS, NULLFS hash, DEVFS name, vnodes,
cluster_save buffer, vfscache, pcb, soname, proc-args, file,
AR driver, AD driver, Gzip trees, rman, eventhandler, bus,
sysctl,
subproc, pfestat, pic, ifstate, pfe_ipc, mkey, ifaddr,
rtable, ipfw,
rnode
128 ZONE, freeblks, inodedep, temp, devbuf, zombie, COS, BPF, DEVFS node,
vnodes, mount, cluster_save buffer, pcb, soname, proc-args, ttys,
dev_t, timecounter, kld, Gzip trees, ISOFS node, bus,
uidinfo, cred,
session, pfestat, pic, itable16, ifstate, pfe_ipc, mkey, rtable,
ipfw, ifstat, metrics, rtnexthop, iffamily
256 iflogical, iftable, MFS node, FFS node, newblk, temp, devbuf,
NFS daemon, vnodes, proc-args, kqueue, file desc, Gzip trees,
bus,
subproc, itable16, ifstate, pfe_ipc, sysctl, rtable, ipfw, rnode,
rtnexthop, iffamily
512 UFS mount, temp, devbuf, mount, BIO buffer, ptys, ttys, file desc,
AR driver, Gzip trees, ISOFS mount, msg, ioctlops, ATA
generic, bus,
proc, pfestat, lr, ifstate, pfe_ipc, rtable, ipfw, ifstat,
rtnexthop
1K iftable, temp, devbuf, NQNFS Lease, COS, BIO buffer, kqueue,
file desc, kld, AD driver, Gzip trees, sem, MD disk, bus,
ifstate,
pfe_ipc, mkey, ipfw
2K uc_devlist, iflogical, UFS mount, temp, devbuf, BIO buffer, pcb,
AR driver, Gzip trees, ioctlops, bus, pfe_ipc, ipfw, ifstat,
rcache
4K memdesc, iftable, UFS mount, temp, devbuf, kld, Gzip trees, sem, msg,
bus, iffclassstat
8K iflogical, indirdep, temp, devbuf, syncache, Gzip trees
16K UFS mount, temp, devbuf, shm, msg
32K pagedep, devbuf, BPF, kld, Gzip trees
64K VM pgdata, devbuf, MSDOSFS mount
128K UFS ihash, inodedep, NFS hash, kld, ISOFS mount
256K mbuf, vfscache
512K SWAP
Memory statistics by type Type Kern
Type InUse MemUse HighUse Limit Requests Limit Limit Size(s)
isadev 13 1K 1K127696K 13 0 0 64
atkbddev 2 1K 1K127696K 2 0 0 32
uc_devlist 24 3K 3K127696K 24 0 0 16,2K
nexusdev 3 1K 1K127696K 3 0 0 16
memdesc 1 4K 4K127696K 1 0 0 4K
mbuf 1 152K 152K127696K 1 0 0 256K
iflogical 159 558K 576K127696K 543 0 0 256,2K,8K
iftable 16 9K 9K127696K 28 0 0 16,256,1K,4K
ip6ndp 0 0K 1K127696K 2 0 0 64
ZONE 15 2K 2K127696K 15 0 0 128
VM pgdata 1 64K 64K127696K 1 0 0 64K
UFS mount 15 41K 41K127696K 15 0 0
512,2K,4K,16K
UFS ihash 1 128K 128K127696K 1 0 0 128K
MFS node 261 65K 72K127696K 11312 0 0 64,256
FFS node 1212 303K 304K127696K 10321 0 0 256
dirrem 0 0K 4K127696K 41400 0 0 32
mkdir 0 0K 1K127696K 8 0 0 32
diradd 0 0K 2K127696K 41433 0 0 32
freefile 0 0K 1K127696K 7302 0 0 32
freeblks 0 0K 1K127696K 8682 0 0 128
freefrag 0 0K 3K127696K 135820 0 0 32
allocindir 0 0K 248K127696K 406886 0 0 64
indirdep 0 0K 33K127696K 166778 0 0 32,8K
allocdirect 0 0K 4K127696K 232268 0 0 64
bmsafemap 0 0K 1K127696K 146306 0 0 32
newblk 1 1K 1K127696K 639155 0 0 32,256
inodedep 1 128K 137K127696K 53025 0 0 128,128K
pagedep 1 32K 33K127696K 5813 0 0 64,32K
temp 1337 94K 99K127696K 337591 0 0
16,32,64,128,256,512,1K,2K,4K,8K,16K
devbuf 16825 2350K 2671K127696K 1042931 0 0
16,32,64,128,256,512,1K,2K,4K,8K,16K,32K,64K
lockf 42 3K 3K127696K 6112563 0 0 64
atexit 1 1K 1K127696K 1 0 0 16
zombie 0 0K 1K127696K 143910 0 0 128
NFS hash 1 128K 128K127696K 1 0 0 128K
NQNFS Lease 1 1K 1K127696K 1 0 0 1K
NFS daemon 1 1K 1K127696K 1 0 0 256
syncache 1 8K 8K127696K 1 0 0 8K
tseg_qent 0 0K 1K127696K 1452 0 0 32
COS 87 63K 65K127696K 349 0 0
16,32,64,128,1K
BPF 403 7K 69K127696K 524 0 0 16,128,32K
MSDOSFS mount 1 64K 64K127696K 1 0 0 64K
NULLFS hash 1 1K 1K127696K 1 0 0 64
DEVFS mount 2 1K 1K127696K 2 0 0 16
DEVFS name 493 31K 31K127696K 493 0 0 64
DEVFS node 479 59K 59K127696K 517 0 0 16,128
vnodes 28 7K 7K127696K 429 0 0
16,32,64,128,256
mount 15 8K 8K127696K 17 0 0 16,128,512
cluster_save buffer 0 0K 1K127696K 16056 0 0
32,64,128
vfscache 2604 419K 423K127696K 159971 0 0 64,256K
BIO buffer 16 32K 505K127696K 18228 0 0 512,1K,2K
pcb 174 17K 17K127696K 158237 0 0
16,32,64,128,2K
soname 83 10K 11K127696K 21724454 0 0 16,32,64,128
proc-args 53 2K 3K127696K 122092 0 0
16,32,64,128,256
ptys 32 16K 16K127696K 32 0 0 512
ttys 187 25K 50K127696K 23168 0 0 128,512
kqueue 4 2K 5K127696K 47137 0 0 256,1K
sigio 1 1K 1K127696K 2718 0 0 32
file 521 33K 35K127696K 2102577 0 0 64
file desc 75 20K 24K127696K 149811 0 0 256,512,1K
shm 1 12K 12K127696K 1 0 0 16K
dev_t 287 36K 36K127696K 287 0 0 128
timecounter 10 2K 2K127696K 10 0 0 128
kld 11 121K 126K127696K 34 0 0
16,32,128,1K,4K,32K,128K
AR driver 1 1K 3K127696K 5 0 0 64,512,2K
AD driver 2 2K 3K127696K 1500129 0 0 64,1K
Gzip trees 0 0K 46K127696K 156997 0 0
32,64,128,256,512,1K,2K,4K,8K,32K
ISOFS node 1097 138K 138K127696K 1097 0 0 128
ISOFS mount 8 132K 132K127696K 8 0 0 512,128K
sem 3 6K 6K127696K 3 0 0 1K,4K
MD disk 2 2K 2K127696K 2 0 0 16,1K
msg 4 25K 25K127696K 4 0 0 512,4K,16K
rman 59 4K 4K127696K 461 0 0 16,64
ioctlops 0 0K 2K127696K 1484 0 0 512,2K
taskqueue 2 1K 1K127696K 2 0 0 32
SWAP 2 413K 413K127696K 2 0 0 32,512K
ATA generic 6 3K 3K127696K 6 0 0 16,512
eventhandler 18 1K 1K127696K 18 0 0 32,64
bus 359 31K 32K127696K 851 0 0
16,32,64,128,256,512,1K,2K,4K
sysctl 0 0K 1K127696K 19399250 0 0 16,32,64
uidinfo 3 1K 1K127696K 9367 0 0 32,128
cred 14 2K 5K127696K 532789 0 0 128
subproc 149 9K 12K127696K 301375 0 0 32,64,256
proc 2 1K 1K127696K 2 0 0 512
session 10 2K 3K127696K 12648 0 0 128
pgrp 10 1K 1K127696K 12749 0 0 32
ippool 1 1K 1K127696K 1 0 0 32
pfestat 0 0K 1K127696K 4017935 0 0
16,32,64,128,512
pic 3 1K 1K127696K 10 0 0 64,128
iffclassstat 0 0K 40K127696K 19 0 0 4K
lr 1 1K 1K127696K 1 0 0 512
itable32 211 7K 7K127696K 211 0 0 32
itable16 2236 537K 1656K127696K 10157 0 0 128,256
ifstate242815 16288K 88751K127696K1711702529 0 0
16,32,64,128,256,512,1K
pfe_ipc 0 0K 2K127696K4389469970 0 0
16,32,64,128,256,512,1K,2K
mkey 453 8K 9K127696K 351154 0 0
16,32,64,128,1K
ifaddr 223 14K 17K127696K 2476 0 0 64
sysctl 0 0K 1K127696K 35 0 0 256
rtable224823 14056K 27291K127696K348790726 0 0
16,32,64,128,256,512
ifmaddr 80 2K 2K127696K 295 0 0 16,32
ipfw 28 15K 19K127696K 988 0 0
16,32,64,128,256,512,1K,2K
ifstat 240 99K 100K127696K 894 0 0 128,512,2K
ifdevice 9 1K 1K127696K 9 0 0 32
iflist 0 0K 1K127696K 27575 0 0 32
rcache 4 8K 8K127696K 4 0 0 2K
rnode214112 3663K 7071K127696K345160759 0 0 16,32,64,256
metrics 21 3K 4K127696K 1417 0 0 128
rtnexthop 17411 4320K 6650K127696K342565086 0 0
32,128,256,512
iffamily 197 37K 38K127696K 608 0 0 128,256
Memory Totals: In Use Free Requests
44866K 76567K 7198104864
ITEM SIZE LIMIT USED FREE REQUESTS
PIPE: 192, 0, 8, 77, 131628
SWAPMETA: 160, 95772, 0, 0, 0
unpcb: 160, 0, 114, 61, 74543
ripcb: 192, 25323, 5, 37, 556
syncache: 128, 15359, 0, 64, 88344
tcpcb: 576, 25323, 36, 28, 126889
udpcb: 192, 25323, 119, 51, 69246
socket: 256, 25323, 369, 47, 338019
KNOTE: 96, 0, 48, 78, 104503
NFSNODE: 352, 0, 0, 0, 0
NFSMOUNT: 544, 0, 0, 0, 0
VNODE: 224, 0, 12104, 90, 12104
NAMEI: 1024, 0, 0, 24, 5823314
VMSPACE: 192, 0, 53, 75, 143957
PROC: 448, 0, 70, 65, 143980
DP fakepg: 64, 0, 0, 0, 0
PV ENTRY: 28, 712366, 121953, 89112, 219769545
MAP ENTRY: 48, 0, 1338, 915, 40350969
KMAP ENTRY: 48, 35635, 210, 174, 173612
MAP: 108, 0, 7, 3, 7
VM OBJECT: 92, 0, 2688, 304, 2771913
2733497006 cpu context switches
1355685303 device interrupts
474779191 software interrupts
55982873 traps
54543811 system calls
17 kernel threads created
139746 fork() calls
4217 vfork() calls
0 rfork() calls
0 swap pager pageins
0 swap pager pages paged in
0 swap pager pageouts
0 swap pager pages paged out
381 vnode pager pageins
396 vnode pager pages paged in
25526 vnode pager pageouts
95451 vnode pager pages paged out
0 page daemon wakeups
0 pages examined by the page daemon
107 pages reactivated
13014131 copy-on-write faults
0 copy-on-write optimized faults
4163866 zero fill pages zeroed
3997676 zero fill pages prezeroed
2786 intransit blocking page faults
70463176 total VM faults taken
0 pages affected by kernel thread creation
115797006 pages affected by fork()
1620165 pages affected by vfork()
0 pages affected by rfork()
19948709 pages freed
0 pages freed by daemon
15065601 pages freed by exiting processes
45590 pages active
70954 pages inactive
0 pages in VM cache
45593 pages wired down
29407 pages free
4096 bytes per page
24839067 total name lookups
cache hits (93% pos + 5% neg) system 0% per-directory
deletions 0%, falsehits 0%, toolong 0%
interrupt total rate
ata0 irq14 2506559 0
mux irq7 4093818368 600
fxp1 irq10 15790 0
sio0 irq4 2518 0
clk irq0 681688963 99
rtc irq8 872620401 127
Total 5650652599 828
--
Accelerated IT Services GmbH
Schubertstrasse 10 D-67251 Freinsheim
nk at accelerated.de http://www.accelerated.de/
Telefon: +49 6232 - 672568 Telefax: +49 6353 - 989039
HRB: 60665 - Amtsgericht Ludwigshafen UstID: DE253684415
Geschäftsführende Gesellschafter: Nicolaj Kamensek & Ole Krieger
More information about the juniper-nsp
mailing list