Date: Mon, 24 Jun 2002 22:01:48 +0100 From: Ian Dowse <iedowse@maths.tcd.ie> To: sig <sig@uct.kiev.ua> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: minfo output: junk in mbufs. can someone comment this? Message-ID: <200206242201.aa79934@salmon.maths.tcd.ie> In-Reply-To: Your message of "Mon, 24 Jun 2002 19:56:53 %2B0300." <18021465385.20020624195653@uct.kiev.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <18021465385.20020624195653@uct.kiev.ua>, sig writes: > 503/15000 pages used, 8048 mbuf-size slots >Checking cluster ref counts >Scanning cluster free list... 307 entries >Scanning mbuf free list... 703 entries >0xc18f1000: weird data 131331 @ 0x3 (min 0xc18f1014 max 0xc18f1100) >0xc18f1100: weird data 2 @ 0x37 (min 0xc18f1114 max 0xc18f1200) >0xc18f1200: weird data 2 @ 0x0 (min 0xc18f1214 max 0xc18f1300) >0xc18f1300: weird data 0 @ 0x2 (min 0xc18f1314 max 0xc18f1400) >0xc18f1400: weird data 137669068 @ 0x1 (min 0xc18f1414 max 0xc18f1500) >0xc18f1500: weird data 30 @ 0x0 (min 0xc18f1514 max 0xc18f1600) >0xc18f1600: weird data 0 @ 0x10 (min 0xc18f1614 max 0xc18f1700) >Checking for unreferenced clusters. > > >Is this a "normal" behavior? Yes, a few "weird data" lines are quite normal, because the mbuf code allocates mbufs in groups of 16 at a time, and it does not initialise the newly-allocated ones before putting them on the free list. However it is not normal for the number of mbufs to continuously increase until they run out. If you leave the system for a few days, does the number of mbufs and clusters reported by netstat -m continue to rise? If so, check the "Send-Q" and "Recv-Q" columns of "netstat -an" first to see if there is data in stuck connections. You can also use minfo's "-x" option to dump all the mbuf contents to see if you can see a pattern that might suggest what code is to blame. Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi? <200206242201.aa79934>