Re: Route table leaks

1999-12-11 Thread Chad R. Larson
As I recall, Joe Greco wrote: > Hell, I've been seeing this for well over a year. The last time I mentioned > it, everybody seemed to think I was nuts. :-) > > FreeBSD 3.0-19981015-BETA #1: Tue Jan 12 03:30:56 CST 1999 > > routetbl289178 40961K 40961K 40960K 4357410 0 16,32,64,

Re: Route table leaks

1999-12-10 Thread Brad Knowles
At 12:17 AM +0100 1999/12/10, Brad Knowles wrote: > In -CURRENT, I would say that this could probably be committed, > if John feels safe. I am not yet convinced that it should be > committed to -STABLE, although things do look good so far. Well, things continue to look good: Fr

Re: Route table leaks

1999-12-09 Thread John Polstra
Brad Knowles wrote: > > In -CURRENT, I would say that this could probably be committed, > if John feels safe. I am not yet convinced that it should be > committed to -STABLE, although things do look good so far. Just to clarify, I committed it to -current already this morning. John T

Re: Route table leaks

1999-12-09 Thread Brad Knowles
At 3:00 PM -0800 1999/12/9, Julian Elischer wrote: > so can it be committed? In -CURRENT, I would say that this could probably be committed, if John feels safe. I am not yet convinced that it should be committed to -STABLE, although things do look good so far. -- These are my op

Re: Route table leaks

1999-12-09 Thread Julian Elischer
so can it be committed? On Thu, 9 Dec 1999, Joe Greco wrote: > The patch previously mentioned has completely fixed my problem, as far as I > can tell. > > routetbl 13117K 25K 40960K936240 0 16,32,64,128,256 > > after a day of uptime. > > > here's mine.. > > this is

Re: Route table leaks

1999-12-09 Thread Joe Greco
The patch previously mentioned has completely fixed my problem, as far as I can tell. routetbl 13117K 25K 40960K936240 0 16,32,64,128,256 after a day of uptime. > here's mine.. > this is from a single homed machine, with a default route. it's also a IRC > server (irc.

Re: Route table leaks

1999-12-08 Thread Bob Vaughan
here's mine.. this is from a single homed machine, with a default route. it's also a IRC server (irc.stanford.edu), with a LOT of filtering of inbound traffic. FreeBSD 3.3-STABLE #8: Sat Nov 27 17:15:49 PST 1999 11:33PM up 2 days, 20:41, 1 user, load averages: 0.03, 0.03, 0.00 routetbl

Re: Route table leaks

1999-12-08 Thread Rodney W. Grimes
> > > > > 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 In

Re: Route table leaks

1999-12-08 Thread Ted Spradley
> > > 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 routetbl35 5K 18K

Re: Route table leaks

1999-12-08 Thread Jasper Wallace
On Wed, 8 Dec 1999, Joe Greco wrote: > > > > : > > :At 1:26 PM -0600 1999/12/8, Joe Greco wrote: > > : > > :>> vmstat -m | grep routetbl|grep K > > :> routetbl289178 40961K 40961K 40960K 4357410 0 > > :>16,32,64,128,256 > > :>> netstat -rn | wc -l > > :>16 > > > >

Re: Route table leaks

1999-12-08 Thread Joe Greco
> > : > :At 1:26 PM -0600 1999/12/8, Joe Greco wrote: > : > :>> vmstat -m | grep routetbl|grep K > :> routetbl289178 40961K 40961K 40960K 4357410 0 > :>16,32,64,128,256 > :>> netstat -rn | wc -l > :>16 > > Please use 'netstat -rna' to get a listing of *all* the r

Re: Route table leaks

1999-12-08 Thread Matthew Dillon
: :At 1:26 PM -0600 1999/12/8, Joe Greco wrote: : :>> vmstat -m | grep routetbl|grep K :> routetbl289178 40961K 40961K 40960K 4357410 0 :>16,32,64,128,256 :>> netstat -rn | wc -l :>16 Please use 'netstat -rna' to get a listing of *all* the routes, including

Re: Route table leaks

1999-12-08 Thread Brad Knowles
At 1:26 PM -0600 1999/12/8, Joe Greco wrote: >> vmstat -m | grep routetbl|grep K > routetbl289178 40961K 40961K 40960K 4357410 0 >16,32,64,128,256 >> netstat -rn | wc -l >16 I had never looked at this on my machines (main news peering server in the Top 100, o

Re: Route table leaks

1999-12-08 Thread Rodney W. Grimes
> > Have any of you been seeing route table leaks in -current? I noticed > > this week that cvsup-master.freebsd.org is suffering from them. I > > actually had to reboot it because it couldn't allocate any more. From > > the "vmstat -m" out

Re: Route table leaks

1999-12-08 Thread John Polstra
In article <[EMAIL PROTECTED]>, Joe Greco <[EMAIL PROTECTED]> wrote: > > Hell, I've been seeing this for well over a year. The last time I mentioned > it, everybody seemed to think I was nuts. :-) > > FreeBSD 3.0-19981015-BETA #1: Tue Jan 12 03:30:56 CST 1999 > > routetbl289178 40961K

Re: Route table leaks

1999-12-08 Thread Joe Greco
> At 08:51 AM 12/8/99 -0600, Joe Greco wrote: > >Most of which are routes pointing at the 3 private-net interfaces on the > >machine. > > The info was provided more as a comparison, that quantity of routes do not > necessary mean leak ? Or perhaps it does. But after 90 days, you would > think t

Re: Route table leaks

1999-12-08 Thread Rodney W. Grimes
> >Hell, I've been seeing this for well over a year. The last time I mentioned > >it, everybody seemed to think I was nuts. :-) > > > >FreeBSD 3.0-19981015-BETA #1: Tue Jan 12 03:30:56 CST 1999 > > > > routetbl289178 40961K 40961K 40960K 4357410 0 > 16,32,64,128,256 > > Well, I h

Re: Route table leaks

1999-12-08 Thread Mike Tancsa
At 08:51 AM 12/8/99 -0600, Joe Greco wrote: >Most of which are routes pointing at the 3 private-net interfaces on the >machine. The info was provided more as a comparison, that quantity of routes do not necessary mean leak ? Or perhaps it does. But after 90 days, you would think the problem wo

Re: Route table leaks

1999-12-08 Thread Joe Greco
> >Hell, I've been seeing this for well over a year. The last time I mentioned > >it, everybody seemed to think I was nuts. :-) > > > >FreeBSD 3.0-19981015-BETA #1: Tue Jan 12 03:30:56 CST 1999 > > > > routetbl289178 40961K 40961K 40960K 4357410 0 > 16,32,64,128,256 > > Well, I h

Re: Route table leaks

1999-12-08 Thread Mike Tancsa
>Hell, I've been seeing this for well over a year. The last time I mentioned >it, everybody seemed to think I was nuts. :-) > >FreeBSD 3.0-19981015-BETA #1: Tue Jan 12 03:30:56 CST 1999 > > routetbl289178 40961K 40961K 40960K 4357410 0 16,32,64,128,256 Well, I havent seen problem

Re: Route table leaks

1999-12-08 Thread Joe Greco
> Have any of you been seeing route table leaks in -current? I noticed > this week that cvsup-master.freebsd.org is suffering from them. I > actually had to reboot it because it couldn't allocate any more. From > the "vmstat -m" output: >

Re: Route table leaks

1999-11-30 Thread John Polstra
In article <[EMAIL PROTECTED]>, Garrett Wollman <[EMAIL PROTECTED]> wrote: > < said: > > > The route disappears from the routing table, but it is > > not freed. (The Leak.) > > Actually, no. > > > Now cause some packets to travel on the connection. A new cloned > > route is created and added

Re: Route table leaks

1999-11-29 Thread Garrett Wollman
< said: > The route disappears from the routing table, but it is > not freed. (The Leak.) Actually, no. > Now cause some packets to travel on the connection. A new cloned > route is created and added to the routing table. Here is where the leak happens, as demonstrated by your patch. (Great

Re: Route table leaks

1999-11-29 Thread Matthew Dillon
:> :> Yes. Because the route table may be flushed from an interrupt in :> a low memory situation. : :I guess I didn't state the question very well. I realize that RTFREE :has to be executed at splnet. But I think it's likely that rtalloc :and rtalloc_ign are always called at splnet or

Re: Route table leaks

1999-11-29 Thread John Polstra
In article <[EMAIL PROTECTED]>, Matthew Dillon <[EMAIL PROTECTED]> wrote: > :1. Do I really need the splnet calls around RTFREE? > > Yes. Because the route table may be flushed from an interrupt in > a low memory situation. I guess I didn't state the question very well. I realize tha

Re: Route table leaks

1999-11-27 Thread Matthew Dillon
:+ s = splnet(); :+ RTFREE(rt); :+ splx(s); :... :+ s = splnet(); :+ RTFREE(rt); :+ splx(s); :+ } : ro->ro_rt = rtalloc1(&ro->ro_dst, 1, ignore); : } : : :Now for my questions: : :1. Do I really need the spl

Re: Route table leaks

1999-11-26 Thread John Polstra
I think I've finally found the route table leak. At least I found _a_ leak, and I think it's the one that's been plaguing cvsup-master. I have a question or two (see below) before I commit the fix. Here's how to leak a route table entry. Establish a TCP connection with another machine so that

Re: Route table leaks

1999-11-24 Thread John Polstra
I've been working on the cvsup-master route table leaks. I haven't found the bug yet, but I've got some clues now. If this info inspires a Eureka! from any of you, please let me know. I started by running this script to print out key information every 2 seconds while I ran a tes

RE: Route table leaks

1999-11-22 Thread John Polstra
Garrett Wollman wrote: > 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,

RE: Route table leaks

1999-11-22 Thread Garrett Wollman
< 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 ' > routetb

RE: Route table leaks

1999-11-21 Thread John Polstra
Garrett Wollman wrote: > < said: > >> are climbing steadily. Also the references to the default route as >> reported by "netstat -rn" are climbing. (They went from 187 to 193 in >> the past 2 minutes or so.) > > What does `netstat -ran' say? You're not seeing all the routes > without the `-a

Route table leaks

1999-11-21 Thread Garrett Wollman
< said: > are climbing steadily. Also the references to the default route as > reported by "netstat -rn" are climbing. (They went from 187 to 193 in > the past 2 minutes or so.) What does `netstat -ran' say? You're not seeing all the routes without the `-a' flag. -GAWollman -- Garrett A. Wo

Route table leaks

1999-11-21 Thread John Polstra
Have any of you been seeing route table leaks in -current? I noticed this week that cvsup-master.freebsd.org is suffering from them. I actually had to reboot it because it couldn't allocate any more. From the "vmstat -m" output: Memory statistics by type