Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Dec 1999 20:58:28 -0800 (PST)
From:      "Rodney W. Grimes" <freebsd@gndrsh.dnsmgr.net>
To:        tsprad@set.spradley.org (Ted Spradley)
Cc:        stable@FreeBSD.ORG, current@FreeBSD.ORG
Subject:   Re: Route table leaks
Message-ID:  <199912090458.UAA01426@gndrsh.dnsmgr.net>
In-Reply-To: <199912090426.WAA33754@set.spradley.org> from Ted Spradley at "Dec 8, 1999 10:26:03 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> > > >      Please use 'netstat -rna' to get a listing of *all* the routes, including
> > > >      the temporary ones, not just the non-temporary routes.
> 
> FWIW, another datapoint:
> 
> set$ netstat -ran | wc -l            
>       15
> set$ vmstat -m | grep routetbl|grep K
        Type  InUse MemUse HighUse  Limit Requests Limit Limit Size(s)

>      routetbl    35     5K     18K 26535K      511    0     0  
> 16,32,64,128,256
> set$ uname -a
> FreeBSD set.spradley.org 3.3-STABLE FreeBSD 3.3-STABLE #2: Wed Oct  6 
> 19:10:52 CDT 1999     tsprad@set.spradley.tmi.net:/scratch/source/src/sys/
> compile/Set  i386
> set$ uptime
> 10:21PM  up 9 days,  3:24, 0 users, load averages: 0.05, 0.11, 0.06
> 
> 
> This is my desktop at home, used for reading mail and surfing the web,
> no routed or gated, mostly idle.  26.5 Mbytes looks kinda high to me...

Go back and read the headings of vmstat -m, your only using  5K for routes,
the 26.5M is the limit on the vmspace.  The 18K was the highest usage.
So you look pretty normal at 5K/35 -> 146 bytes/route.


-- 
Rod Grimes - KD7CAX @ CN85sl - (RWG25)               rgrimes@gndrsh.dnsmgr.net


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?199912090458.UAA01426>