I reported a severe memory leak a couple of days ago. I let 2.0.31pre9
run some more on my news server, and collected a little more data. This
is not all exactly the same, because the machine was so bogged down it
took a couple of minutes for the free and ps commands to run after I did
the control- & shift- scroll-lock.
Here is the output of "free":
total used free shared buffers cached
Mem: 128100 127068 1032 74316 12380 34800
-/+ buffers: 79888 48212
Swap: 66556 3740 62816
"ps max":
PID TTY MAJFLT MINFLT TRS DRS SIZE SWAP RSS SHRD LIB DT COMMAND
2 ? 0 0 0 0 0 0 0 0 0 0 (kflushd)
3 ? 18964 0 0 0 0 0 0 0 0 0 (kswapd)
4469 1 98 10 0 0 56 56 0 0 0 0 (mingetty)
225 2 72 10 0 0 56 56 0 0 0 0 (mingetty)
13936 ? 29 3 0 0 0 0 0 0 0 0 /usr/local
27231 ? 131 13 0 0 60 60 0 0 0 0 (rpc.rstat
13639 ? 27 3 0 0 0 0 0 0 0 0 /usr/local
13942 ? 9 3 0 0 0 0 0 0 0 0 /usr/local
13941 ? 29 3 4 8 12 0 12 0 0 3 /usr/local
128 ? 284 147 0 32 112 80 32 32 0 0 (inetd)
227 ? 73 4 8 40 84 36 48 32 0 4 update (bd
1 ? 378 51 20 36 108 52 56 40 0 3 init [3]
8495 ? 72 9 12 64 128 52 76 68 0 2 /usr/local
8494 ? 82 26 0 92 144 52 92 92 0 0 (chan2prog
106 ? 512 7281 16 88 160 56 104 60 0 11 crond
8497 ? 82 9 12 108 160 40 120 100 0 5 /usr/local
162 ? 5295 189 20 128 212 64 148 100 0 27 httpd -d /
86 ? 351 36 32 144 220 44 176 124 0 10 syslogd
8412 p0 130 70 0 192 488 296 192 192 0 0 (su)
8398 ? 311 52 24 192 324 108 216 200 0 4 in.telnetd
95 ? 341 68 28 188 348 132 216 160 0 7 klogd
117 ? 2004 3367 28 196 236 12 224 168 0 8 portmap
200 ? 1217 4994 20 204 236 12 224 176 0 6 rpc.rstatd
8399 p0 177 77 0 232 540 308 232 232 0 0 (login)
211 ? 1061 236 68 168 316 80 236 168 0 15 xntpd
13939 ? 83 8 24 220 244 0 244 184 0 15 /usr/local
8468 p0 0 32 136 124 388 128 260 260 0 0 (rc.news)
13938 ? 96 10 24 280 304 0 304 236 0 17 /usr/local
150 ? 1023 13316 76 248 464 140 324 276 0 19 sendmail:
8400 p0 224 133 156 172 472 144 328 328 0 0 (bash)
13937 ? 102 11 28 304 332 0 332 260 0 18 /usr/local
13598 ? 88 20 32 308 340 0 340 256 0 21 /usr/local
13635 ? 89 20 32 344 376 0 376 292 0 21 /usr/local
13620 ? 479 28 36 368 404 0 404 304 0 25 /usr/local
13626 ? 490 28 36 372 408 0 408 308 0 25 /usr/local
13597 ? 107 40 36 380 416 0 416 308 0 27 /usr/local
13624 ? 100 41 36 388 424 0 424 312 0 28 /usr/local
13940 p0 110 30 28 400 428 0 428 324 0 26 ps amx
13617 ? 101 40 36 400 436 0 436 328 0 27 /usr/local
8511 p0 168 20876 184 260 496 52 444 384 0 27 sh /usr/lo
13633 ? 101 41 36 412 448 0 448 336 0 28 /usr/local
13943 p0 1 15 188 260 500 52 448 448 0 27 sh /usr/lo
13947 p0 0 0 188 260 500 52 448 448 0 27 sh /usr/lo
134 ? 1285 106 308 180 592 104 488 296 0 43 /usr/local
8413 p0 226 197 220 288 572 64 508 420 0 22 bash
10821 ? 172 32 84 444 540 12 528 408 0 45 httpd -d /
13224 ? 138 28 88 488 576 0 576 452 0 46 httpd -d /
13625 ? 83 27 132 444 664 88 576 460 0 36 sendmail:
13945 ? 80 16 132 476 700 92 608 500 0 25 sendmail:
13723 ? 83 27 148 472 708 88 620 544 0 36 sendmail:
13622 ? 533 58 308 364 672 0 672 564 0 27 perl /dev/
13612 ? 584 58 308 376 684 0 684 576 0 27 perl /dev/
13629 ? 533 60 308 384 692 0 692 584 0 27 perl /dev/
13596 ? 596 58 308 388 696 0 696 588 0 27 perl /dev/
13619 ? 7 67 204 632 892 56 836 600 0 74 sendmail:
13593 ? 7 64 204 632 888 52 836 560 0 74 sendmail:
13628 ? 7 66 204 640 896 52 844 604 0 75 sendmail:
13607 ? 7 66 204 644 904 56 848 612 0 74 sendmail:
13946 ? 8 9 228 696 956 32 924 840 0 77 sendmail:
13944 ? 7 67 236 692 960 32 928 836 0 80 sendmail:
12434 ? 1415 111 56 1404 1760 300 1460 1320 0 35 -pm1-24.ro
13623 ? 587 112 56 1784 1840 0 1840 1396 0 111 -ts4p17.ro
11220 ? 1379 114 56 1960 2128 112 2016 1676 0 85 -ts1p15.ro
12456 ? 3270 112 64 2072 2192 56 2136 1748 0 97 -pm1-44.ro
13599 ? 1564 181 64 2240 2304 0 2304 1872 0 108 -ts4p11.ro
8505 ? 6408 1057 64 2264 2368 40 2328 1912 0 100 -sh1.ro.co
13717 ? 523 106 64 2300 2364 0 2364 1944 0 105 -news.ro.c
13805 ? 523 106 64 2300 2364 0 2364 1944 0 105 -news.ro.c
12822 ? 1751 110 56 2332 2392 4 2388 1956 0 108 -ts1p9.ro.
13644 ? 535 104 60 2344 2404 0 2404 1992 0 103 -ts2p13.ro
13643 ? 552 106 60 2352 2412 0 2412 1992 0 105 -pm1-6.ro.
13666 ? 556 112 64 2392 2456 0 2456 2012 0 111 -pm1-28.ro
13804 ? 703 108 64 2448 2512 0 2512 2080 0 108 -206.96.17
8466 ? 93151 111269 124 8916 9788 748 9040 6048 0 2163 /usr/local
Kernel output from a shift-scroll-lock:
Mem-info:
Free pages: 2040kB
( 246*4kB 6*8kB 3*16kB 2*32kB 0*64kB 7*128kB = 2040kB)
Swap cache: add 221428/221428, delete 112771679/220132, find 76933/1257
Free swap: 62592kB
32768 pages of RAM
512 free pages
743 reserved pages
49039 pages shared
Buffer memory: 11232kB
Buffer heads: 11240
Buffer blocks: 11232
CLEAN: 268 buffers, 23 used (last=23), 0 locked, 0 protected, 0 dirty
LOCKED: 4576 buffers, 131 used (last=4485), 136 locked, 0 protected, 0 dirty
DIRTY: 6388 buffers, 3 used (last=3388), 0 locked, 0 protected, 6388 dirty
Networking buffers in use : 116
Network buffers locked by drivers : 0
Total network buffer allocations : 19776659
Total failed network buffer allocs : 0
Total free while locked events : 0
IP fragment buffer size : 0
Kernel output from a control-scroll-lock:
free sibling
task PC stack pid father child younger older
swapper 0 R 00000000 4096 0 0 1
init 1 S FFFFFFFF 4 1 0 13628
kflushd 2 D 00000000 2592 2 1 3
kswapd 3 D 00000000 4 3 1 86 2
in.telnetd 4 S FFFFFFFF 4 8398 128 8399 27231
mingetty 5 S FFFFFFFF 4 4469 1 8466 227
login 6 S 00000000 4 8399 8398 8400
syslogd 7 D 00000000 4 86 1 95 3
klogd 8 R 00000000 4 95 1 106 86
crond 9 S 00000000 4 106 1 13648 117 95
portmap 10 S FFFFFFFF 1268 117 1 128 106
inetd 11 S FFFFFFFF 2788 128 1 8398 134 117
gated 12 S 016C1E1C 2336 134 1 150 128
sendmail 13 S 00000000 2620 150 1 13625 162 134
perl5.003 14 S 00000000 4 13596 13593 13597
httpd 15 S 00000000 2396 162 1 13224 200 150
bash 16 S 00000000 4 8400 8399 8412
mingetty 17 S FFFFFFFF 4 225 1 227 211
su 18 S 00000000 4 8412 8400 8413
bash 19 S 00000000 4 8413 8412 8481
rpc.rstatd 20 S FFFFFFFF 4 200 1 211 162
xntpd 21 S FFFFFFFF 4 211 1 225 200
su 22 S 00000000 4 8481 8413 8482
update 23 S 00000000 652 227 1 4469 225
bash 24 S FFFFFFFF 4 8482 8481
innwatch 25 S 00000000 4 8511 8468 13716
mail2news 26 S 00000000 4 13617 13612 13620
in.nnrpd 27 S 016D0A36 4 11220 8466 12434 8505
rc.news 28 S 00000000 4 8468 1 8511 13593 8466
innd 29 D 00000000 4 8466 1 13717 8468 4469
chan2prog 30 S 00000000 4 8494 8466 8495
httpd 31 S 00000000 4 13224 162 10821
crosspost 32 S 00000000 8 8495 8466 8497 8494
overchan 33 S 00000000 4 8497 8466 8505 8495
sendmail 34 S 00000000 4 13607 1 13612 13619 13593
in.nnrpd 35 S 016DBFE5 4 8505 8466 11220 8497
innwatch 36 D 00000000 4 13716 8511
in.nnrpd 37 S 016D642B 4 12434 8466 12456 11220
perl5.003 38 S 00000000 4 13629 13628 13633
httpd 39 S 00000000 4 10821 162 13224
mail2news 40 S 00000000 4 13633 13629 13635
in.nnrpd 41 D 00000000 4 12456 8466 12822 12434
sendmail 42 S 00000000 4 13619 1 13622 13628 13607
in.nnrpd 43 D 00000000 4 12822 8466 13599 12456
perl5.003 44 S 00000000 4 13612 13607 13617
inews 45 S 00000000 2480 13620 13617
perl5.003 46 S 00000000 4 13622 13619 13624
sendmail 47 S 00000000 4 13593 1 13596 13607 8468
in.nnrpd 48 D 00000000 4 13643 8466 13644 13639
mail2news 49 S 00000000 4 13624 13622 13626
mail2news 50 S 00000000 4 13597 13596 13598
inews 51 S 00000000 4 13598 13597
in.nnrpd 52 S 016D7A95 12 13599 8466 13623 12822
in.nnrpd 53 S 016DB9A3 1412 13623 8466 13639 13599
sendmail 54 S 00000000 4 13625 150
inews 55 S 00000000 8 13626 13624
in.nnrpd 56 S 016DE5A6 20 13644 8466 13666 13643
sendmail 57 S 00000000 4 13628 1 13629 13619
nntpsend 58 D 00000000 4 13718 13680
inews 59 S 00000000 4 13635 13633
nntpsend 60 S 00000000 4 13680 13650 13718
in.nnrpd -61 R current 4 13693 8466 13715 13666
rpc.rstatd 62 S FFFFFFFF 4 27231 128 8398
innd 63 D 00000000 4 13715 8466 13717 13693
in.nnrpd 64 D 00000000 4 13639 8466 13643 13623
crond 65 S 00000000 4 13648 106 13650
innd 66 D 00000000 4 13717 8466 13715
nntpsend 67 S 00000000 4 13650 13648 13680
in.nnrpd 69 D 00000000 4 13666 8466 13693 13644
-- Chris Adams - cadams@ro.com System Administrator - Renaissance Internet Services I don't speak for anybody but myself - that's enough trouble.