Date: Mon, 22 Nov 1999 10:52:48 -0500 (EST) From: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> To: John Polstra <jdp@polstra.com> Cc: current@FreeBSD.ORG Subject: RE: Route table leaks Message-ID: <199911221552.KAA84691@khavrinen.lcs.mit.edu> In-Reply-To: <XFMail.991121195840.jdp@polstra.com> References: <199911220150.UAA78559@khavrinen.lcs.mit.edu> <XFMail.991121195840.jdp@polstra.com>
next in thread | previous in thread | raw e-mail | index | archive | help
<<On Sun, 21 Nov 1999 19:58:40 -0800 (PST), John Polstra <jdp@polstra.com> said: >> [quoting me:] >> What does `netstat -ran' say? You're not seeing all the routes >> without the `-a' flag. > It lists some additional routes with -a, but not many. Here's the > latest output (still growing, as you can see): > cvsup-master# vmstat -m | grep 'routetbl ' > routetbl 822 115K 115K 21221K 2669 0 0 16,32,64,128,256 Hmmm. On one of my machines: Memory statistics by type Type Kern Type InUse MemUse HighUse Limit Requests Limit Limit Size(s) routetbl 171 24K 184K 10366K 976273 0 0 16,32,64,128,256 Looks fine. Another machine says: routetbl 2755 384K 394K 42708K 928043 0 0 16,32,64,128,256 It also tells me: root@xyz(49)$ netstat -ran | wc -l 118 root@xyz(50)$ netstat -ran | fgrep default default 18.24.10.3 UGc 25 13963 ti0 root@xyz(51)$ netstat -f inet -n | wc -l 1331 Now things start to make sense: root@xyz(55)$ netstat -f inet -n | fgrep CLOSING | wc -l 1287 (this machine still has the bug that Jonathan Lemon fixed). Now it's clear what's going on. The ``missing'' routes have been deleted from the routing table, but have not yet been freed because these old PCBs still hold a reference. -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911221552.KAA84691>