From owner-freebsd-stable Fri Apr 17 04:07:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA01259 for freebsd-stable-outgoing; Fri, 17 Apr 1998 04:07:35 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from coal.sentex.ca (coal.sentex.ca [209.112.4.16]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA01254; Fri, 17 Apr 1998 11:07:32 GMT (envelope-from mike@sentex.net) Received: from gravel (ospf-mdt.sentex.net [205.211.164.81]) by coal.sentex.ca (8.8.8/8.8.7) with SMTP id HAA21272; Fri, 17 Apr 1998 07:07:29 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <3.0.2.32.19980417065518.02797100@sentex.net> X-Sender: mdtancsa@sentex.net X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.2 (32) Date: Fri, 17 Apr 1998 06:55:18 -0400 To: questions@FreeBSD.ORG From: Mike Tancsa Subject: INN 1.7.2 eating huge gobs RAM and crashing 2.2.6 Cc: stable@FreeBSD.ORG Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk I dont know if others see this or not, but every 2 days or so I need to restart innd because it eats up huge amounts of swap. If I let it go, it will spin out of control, and crash the machine. I was just about to reboot it when I took this snap shot. I have the kernel config set to 128 users, its a p133 with 128meg of RAM and 2.2.6-STABLE as of a last week. Does anyone have any idea what might be the cause of this ? flint# pstat -s Device 1K-blocks Used Avail Capacity Type /dev/wd0s1b 262144 218076 44004 83% Interleaved /dev/sd4s1b 614400 217692 396644 35% Interleaved Total 876416 435768 440648 50% last pid: 13341; load averages: 1.48, 1.40, 0.88 06:58:47 35 processes: 2 running, 33 sleeping CPU states: % user, % nice, % system, % interrupt, % idle Mem: 37M Active, 52M Inact, 20M Wired, 15M Cache, 8346K Buf, 616K Free Swap: 856M Total, 795M Used, 61M Free, 93% Inuse PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 26114 news -6 0 48768K 16236K biowai 36:05 18.20% 18.20% innd 13337 news -6 11 1208K 1496K biowai 0:00 6.31% 2.67% in.nnrpd 13340 news 80 11 1196K 1488K RUN 0:00 10.94% 1.53% in.nnrpd 13339 news 2 11 1200K 1492K sbwait 0:00 2.52% 0.92% in.nnrpd 13338 news 2 11 1200K 1492K sbwait 0:00 2.21% 0.80% in.nnrpd . . . flint# vmstat -m Memory statistics by bucket size Size In Use Free Requests HighWater Couldfree 16 47 721 1836 1280 0 32 156 228 218529 640 0 64 12423 121 8423270 320 0 128 19648 576 6869328 160 321 256 10947 285 5942183 80 450 512 74 78 192914 40 16616 1K 169 259 12103033 20 3880133 2K 54 78 299729 10 191538 4K 13 3 4288 5 0 8K 0 1 4 5 0 16K 83 0 264 5 0 32K 5 0 21 5 0 Memory usage type by bucket size Size Type(s) 16 devbuf, pcb, routetbl, vnodes, proc, temp 32 devbuf, pcb, routetbl, ifaddr, pgrp, session, subproc, ether_multi, temp 64 devbuf, routetbl, ifaddr, namecache, VM mapent, VM pgdata, file, lockf, in_multi, temp 128 devbuf, pcb, routetbl, zombie, ifaddr, cred, vnodes, VM map, VM object, VM pgdata, file desc, temp, ttys 256 devbuf, socket, pcb, routetbl, vnodes, VM map, VM pgdata, file desc, subproc, FFS node, NFS srvsock, NFS daemon, temp, isa_devlist, select 512 devbuf, pcb, ioctlops, mount, UFS mount, proc, temp, BIO buffer 1K devbuf, namei, UFS mount, VM pgdata, NQNFS Lease, BIO buffer 2K devbuf, UFS mount, VM pgdata, proc, ttys, BIO buffer 4K mbuf, devbuf, UFS mount, temp 8K temp 16K devbuf, VM pgdata 32K devbuf, NFS node, namecache, UFS quota, UFS mount, VM pgdata Memory statistics by type Type Kern Type InUse MemUse HighUse Limit Requests Limit Limit Size(s) mbuf 1 4K 4K 19661K 1 0 0 4K devbuf 62 145K 145K 19661K 162 0 0 16,32,64,128,256,512,1K,2K,4K,16K,32K socket 52 13K 37K 19661K 112863 0 0 256 pcb 62 12K 29K 19661K 113760 0 0 16,32,128,256,512 routetbl 168 22K 38K 19661K 5678 0 0 16,32,64,128,256 zombie 0 0K 3K 19661K 192648 0 0 128 ifaddr 14 2K 2K 19661K 14 0 0 32,64,128 namei 0 0K 9K 19661K 10475332 0 0 1K ioctlops 0 0K 1K 19661K 8 0 0 512 cred 11 2K 5K 19661K 24294 0 0 128 pgrp 17 1K 1K 19661K 11521 0 0 32 session 15 1K 1K 19661K 11164 0 0 32 mount 9 5K 5K 19661K 9 0 0 512 NFS node 1 32K 32K 19661K 1 0 0 32K vnodes 10690 1336K 1336K 19661K 12064 0 0 16,128,256 namecache 10652 698K 698K 19661K 10652 0 0 64,32K UFS quota 1 32K 32K 19661K 1 0 0 32K UFS mount 25 65K 65K 19661K 25 0 0 512,1K,2K,4K,32K VM map 43 10K 26K 19661K 192691 0 0 128,256 VM mapent 1475 93K 93K 19661K 1475 0 0 64 VM object 8586 1074K 1126K 19661K 6353129 0 0 128 VM pgdata 322 1273K 1275K 19661K 2995 0 0 64,128,256,1K,2K,16K,32K file 125 8K 17K 19661K 4829659 0 0 64 file desc 54 9K 25K 19661K 212659 0 0 128,256 lockf 1 1K 1K 19661K 3579963 0 0 64 proc 44 24K 55K 19661K 193097 0 0 16,512,2K subproc 47 4K 8K 19661K 385343 0 0 32,256 FFS node 10648 2662K 2663K 19661K 5210552 0 0 256 NQNFS Lease 1 1K 1K 19661K 1 0 0 1K NFS srvsock 2 1K 1K 19661K 2 0 0 256 NFS daemon 1 1K 1K 19661K 1 0 0 256 in_multi 2 1K 1K 19661K 2 0 0 64 ether_multi 1 1K 1K 19661K 1 0 0 32 temp 33 7K 22K 19661K 141338 0 0 16,32,64,128,256,512,4K,8K ttys 247 35K 55K 19661K 15886 0 0 128,2K isa_devlist 1 1K 1K 19661K 1 0 0 256 BIO buffer 184 211K 419K 19661K 1927197 0 0 512,1K,2K select 22 6K 11K 19661K 39210 0 0 256 Memory Totals: In Use Free Requests 7777K 644K 34055399 ********************************************************************** Mike Tancsa (mike@sentex.net) * To do is to be -- Nietzsche Sentex Communications Corp, * To be is to do -- Sartre Cambridge, Ontario * Do be do be do -- Sinatra (http://www.sentex.net/~mdtancsa) * To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message