Re: 2.6.11 on AMD64 traps

From: Michal Vanco
Date: Wed Mar 09 2005 - 15:45:53 EST


On Wednesday 09 March 2005 20:45, Patrick McHardy wrote:
> > Michal Vanco wrote:
> >> I see this problem running 2.6.11 on dual AMD64:
> >>
> >> Running quagga routing daemon (ospf+bgp) and issuing "netstat -rn |wc
> >> -l" command
> >> while quagga tries to load more than 154000 routes from its bgp
> >> neighbours causes this trap:
>
> This patch should fix it. The crash is caused by stale pointers,
> the pointers in fib_iter_state are not reloaded after seq->stop()
> followed by seq->start(pos > 0).

Well. Trap vanished after applying this patch, but another weird thing occurs:

# ip route show | wc -l
156033
# date; time ip route show > /dev/null; date; time netstat -rn > /dev/null
Wed Mar 9 22:15:21 CET 2005

real 0m0.656s
user 0m0.415s
sys 0m0.242s
Wed Mar 9 22:15:22 CET 2005

real 6m41.472s
user 0m1.261s
sys 6m40.143s

regards,
--
Ing. Michal VanÄo
Network Engineer
SATRO s.r.o.
e-mail: vanco@xxxxxxxx

Attachment: pgp00000.pgp
Description: PGP signature