Date: Tue, 11 Jun 2002 12:28:10 -0500 From: "Scot W. Hetzel" <hetzels@westbend.net> To: "David Malone" <dwmalone@maths.tcd.ie> Cc: "FreeBSD-Stable" <FreeBSD-Stable@freebsd.org> Subject: Re: Run away MBUFS Message-ID: <003001c2116d$5becd3b0$11fd2fd8@ADMIN00> References: <000501c210a9$05e534e0$11fd2fd8@ADMIN00> <20020611163528.GA65151@walton.maths.tcd.ie>
next in thread | previous in thread | raw e-mail | index | archive | help
From: "David Malone" <dwmalone@maths.tcd.ie> > Ian Dowse has a utility for printing out mbuf chains - you might > be able to get some useful info from it. You can get it from: > > ftp://ftp.maths.tcd.ie/src/iedowse-tmp/kvm/minfo/ > > You'll want to redirect the output to a file and see if it > mentions lots of unreferenced mbufs. > I download the minfo source and compiled it, here is a small part of the results: mb_map: 9156/180000 K used (5.09%) map start: 0xc09f0000, end 0xcb9b8000 2289/45000 pages used, 36624 mbuf-size slots Checking cluster ref counts Scanning cluster free list... 96 entries Scanning mbuf free list... 195 entries 0xc1256800: Free mbuf not on free list 0xc1267800: Free mbuf not on free list 0xc126d200: Free mbuf not on free list 0xc1270400: Free mbuf not on free list 0xc1278d00: Free mbuf not on free list 0xc127d400: Free mbuf not on free list 0xc127e700: Free mbuf not on free list 0xc127fc00: Free mbuf not on free list 0xc1280800: Free mbuf not on free list 0xc1285200: Free mbuf not on free list 0xc1287000: Free mbuf not on free list 0xc128a300: Free mbuf not on free list 0xc128a800: Free mbuf not on free list 0xc1290d00: references free cluster 0xc0a98800 : 0xc12e0000: weird data 2 @ 0xc0b720fc (min 0xc12e002c max 0xc12e0100) 0xc12e0100: weird data 2 @ 0xc0b721fc (min 0xc12e012c max 0xc12e0200) 0xc12e0400: Free mbuf not on free list 0xc12e0500: Free mbuf not on free list 0xc12e0600: Free mbuf not on free list 0xc12e0900: Free mbuf not on free list 0xc12e0c00: Free mbuf not on free list Checking for unreferenced clusters. cluster 0xc09f2800 1/1 refs missing cluster 0xc09f3000 1/1 refs missing cluster 0xc09f6800 1/1 refs missing cluster 0xc09fb000 1/1 refs missing cluster 0xc09fc800 1/1 refs missing cluster 0xc09fd000 1/1 refs missing cluster 0xc09fd800 1/1 refs missing cluster 0xc0a01800 1/1 refs missing cluster 0xc0a04800 1/1 refs missing cluster 0xc0a05000 1/1 refs missing cluster 0xc0a05800 1/1 refs missing cluster 0xc0a06800 1/1 refs missing cluster 0xc0a08000 1/1 refs missing cluster 0xc0a0a800 1/1 refs missing cluster 0xc0a0c800 1/1 refs missing cluster 0xc0a0e000 1/1 refs missing cluster 0xc0a10000 1/1 refs missing cluster 0xc0a39800 1/1 refs missing cluster 0xc0a3c000 1/1 refs missing cluster 0xc0a47000 1/1 refs missing cluster 0xc0a47800 1/1 refs missing cluster 0xc0a48000 1/1 refs missing cluster 0xc0a48800 1/1 refs missing cluster 0xc0a4d000 1/1 refs missing cluster 0xc0a4e000 1/1 refs missing cluster 0xc0a4e800 1/1 refs missing cluster 0xc0a50800 1/1 refs missing cluster 0xc0a54800 1/1 refs missing cluster 0xc0a56000 1/1 refs missing cluster 0xc0a59800 1/1 refs missing cluster 0xc0a5b000 1/1 refs missing cluster 0xc0a5f000 1/1 refs missing cluster 0xc0a61800 1/1 refs missing cluster 0xc0a62000 1/1 refs missing cluster 0xc0a64000 1/1 refs missing cluster 0xc0a65000 1/1 refs missing cluster 0xc0a65800 1/1 refs missing cluster 0xc0a6b000 1/1 refs missing cluster 0xc0a6b800 1/1 refs missing cluster 0xc0a6c800 1/1 refs missing cluster 0xc0a6f000 1/1 refs missing cluster 0xc0a6f800 1/1 refs missing cluster 0xc0a70800 1/1 refs missing cluster 0xc0a72000 1/1 refs missing cluster 0xc0a72800 1/1 refs missing cluster 0xc0a73800 1/1 refs missing cluster 0xc0a76000 1/1 refs missing cluster 0xc0a77000 1/1 refs missing cluster 0xc0a79000 1/1 refs missing cluster 0xc0a7a000 1/1 refs missing cluster 0xc0a7d800 1/1 refs missing cluster 0xc0a7e800 1/1 refs missing cluster 0xc0a7f800 1/1 refs missing cluster 0xc0a80000 1/1 refs missing cluster 0xc0a83000 1/1 refs missing cluster 0xc0a85800 1/1 refs missing cluster 0xc0a88000 1/1 refs missing cluster 0xc0a8a800 1/1 refs missing cluster 0xc0a8b800 1/1 refs missing cluster 0xc0a8c000 1/1 refs missing cluster 0xc0a91000 1/1 refs missing cluster 0xc0a95000 1/1 refs missing cluster 0xc0a95800 1/1 refs missing cluster 0xc0a96800 1/1 refs missing cluster 0xc0a97000 1/1 refs missing cluster 0xc0a97800 1/1 refs missing cluster 0xc0aab000 1/1 refs missing cluster 0xc0add000 1/1 refs missing cluster 0xc0add800 1/1 refs missing cluster 0xc0af0000 1/1 refs missing cluster 0xc0af4000 1/1 refs missing cluster 0xc0af5000 1/1 refs missing cluster 0xc12a8000 1/1 refs missing cluster 0xc12a8800 1/1 refs missing cluster 0xc12aa800 1/1 refs missing cluster 0xc12ae000 1/1 refs missing cluster 0xc12ae800 1/1 refs missing ns0# netstat -m 37664/37760/240000 mbufs in use (current/peak/max): 37663 mbufs allocated to data 1 mbufs allocated to packet headers 229/320/60000 mbuf clusters in use (current/peak/max) 10080 Kbytes allocated to network (5% of mb_map in use) 0 requests for memory denied 0 requests for memory delayed 0 calls to protocol drain routines If anyone wants a look at this 94MB log file (gzipped 7.1MB), let me know and I'll place it on our ftp server. Scot To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003001c2116d$5becd3b0$11fd2fd8>