> On Sun, 14 Apr 2002, Milam, Chad wrote:
> > /proc/sys/net/ipv4/route/max_size=16384 (default 4096)
> Ok, i meant:
it also looks like gc_thresh defaults to RT_HASH_DIVISOR (256).
however I have....
> > Also, based on the code from route.c:
> > --
> > if (atomic_read(&ipv4_dst_ops.entries) < ip_rt_max_size)
> > return 0;
> > if (net_ratelimit())
> > printk("dst cache overflow\n");
> > return 1;
> > --
> 0 typically means the gc was succesful
true enough. but the way I read that is that if entries>max_size,
you are going to get "dst cache overflow" which returns a 1. there
is no test here for entries>gc_thresh.
> I just remembered an old problem that used to cause this; do you
> have lo configured?
> make sure it is IP address 127.0.0.1 and it is up.
sure do. read about that issue quite sometime ago.