I've noticed since updating to current from 4.0-current in January to
-current "now" that certain commands through bgpctl seem to just
hang .. (we've tried this with various snapshots every 2 weeks or so
since January) as well as trying a full build.
If I do a bgpctl reload (100+ peers per production router) and then
within a minute or so do a "bgpctl show" then bgpctl's output just
hangs (I've left it for nearly an hour and nothing has appeared
beyond the headers)
Also regardless of a reload, attempting to show rib nei a.b.c.d out
also just seems to hang
bgpctl show rib nei 80.252.124.1 out
flags: * = Valid, > = Selected, I = via IBGP, A = Announced
origin: i = IGP, e = EGP, ? = Incomplete
flags destination gateway lpref med aspath origin
and no more output
Whilst the same command on our 4.0-current boxes generates the sort
of output I would expect
[EMAIL PROTECTED] time bgpctl show rib nei 80.252.124.3 out | wc -l
64171
real 0m6.374s
user 0m1.461s
sys 0m0.086s
What (if anything more) can I do to help diagnose this further?
I have a test setup on a box internally with the following config and
-current as of this morning
AS 65123
fib-update yes
route-collector no
network 80.252.127.0/24
group fidonet {
softreconfig in yes
softreconfig out yes
multihop 3
announce self
set nexthop self
remote-as 8282
neighbor 80.252.124.1
neighbor 80.252.124.3
}
Which hangs
bash-3.2# time bgpctl show rib nei 80.252.124.1 out
flags: * = Valid, > = Selected, I = via IBGP, A = Announced
origin: i = IGP, e = EGP, ? = Incomplete
flags destination gateway lpref med aspath origin
^C
real 1m50.758s
user 0m0.000s
sys 0m0.000s
If I turn off softreconfig then I get mixed results
bash-3.2# time bgpctl show rib nei 80.252.124.1 out
flags: * = Valid, > = Selected, I = via IBGP, A = Announced
origin: i = IGP, e = EGP, ? = Incomplete
flags destination gateway lpref med aspath origin
AI*> 80.252.127.0/24 0.0.0.0 100 0 i
real 0m2.083s
user 0m0.010s
sys 0m0.000s
bash-3.2# time bgpctl show rib nei 80.252.124.1 out
flags: * = Valid, > = Selected, I = via IBGP, A = Announced
origin: i = IGP, e = EGP, ? = Incomplete
flags destination gateway lpref med aspath origin
^C
real 5m48.403s
user 0m0.000s
sys 0m0.010s
(our border routers are 3Ghz P4-HT .. our test box is an old G4 mac
mini .. so I would expect a slower performance on the mac mini .. all
boxes have at least 1Gb ram)
I have also noticed that if I do a bgpctl show rib nei x out in one
window, and then do a bgpctl reload in another window the output
appears almost instantly after the reload
bash-3.2# time bgpctl show rib nei 80.252.124.3 out
flags: * = Valid, > = Selected, I = via IBGP, A = Announced
origin: i = IGP, e = EGP, ? = Incomplete
flags destination gateway lpref med aspath origin
AI*> 80.252.127.0/24 0.0.0.0 100 0 i
real 4m59.767s
user 0m0.000s
sys 0m0.000s
bash-3.2# time bgpctl show rib nei 80.252.124.3 out
(JPM - perform reload in another window)
flags: * = Valid, > = Selected, I = via IBGP, A = Announced
origin: i = IGP, e = EGP, ? = Incomplete
flags destination gateway lpref med aspath origin
AI*> 80.252.127.0/24 0.0.0.0 100 0 i
real 0m19.509s
user 0m0.000s
sys 0m0.010s
Other "useful" info
bash-3.2# bgpctl show rib mem
RDE memory statistics
211027 IPv4 network entries using 6.4M of memory
422053 prefix entries using 12.9M of memory
75553 BGP path attribute entries using 5.5M of memory
34067 BGP AS-PATH attribute entries using 1.1M of memory,
and holding 75553 references
3889 BGP attributes entries using 91.1K of memory
and holding 90199 references
3888 BGP attributes using 24.4K of memory
RIB using 26.0M of memory
[EMAIL PROTECTED] bgpctl show rib mem
RDE memory statistics
211117 IPv4 network entries using 6.4M of memory
1 IPv6 network entries using 44B of memory
1694088 prefix entries using 51.7M of memory
312124 BGP path attribute entries using 22.6M of memory
103442 BGP AS-PATH attribute entries using 3.1M of memory,
and holding 312124 references
12202 BGP attributes entries using 286K of memory
and holding 371302 references
12201 BGP attributes using 432K of memory
RIB using 84.5M of memory
[EMAIL PROTECTED] time bgpctl show rib nei 80.252.124.2 out | wc -l
^C
real 8m55.508s
user 0m0.016s
sys 0m0.008s
[EMAIL PROTECTED] bgpctl show rib mem
RDE memory statistics
211077 IPv4 network entries using 6.4M of memory
1 IPv6 network entries using 44B of memory
429124 prefix entries using 13.1M of memory
77644 BGP path attribute entries using 5.6M of memory
34162 BGP AS-PATH attribute entries using 1.0M of memory,
and holding 77644 references
3978 BGP attributes entries using 93.2K of memory
and holding 91791 references
3977 BGP attributes using 25.5K of memory
RIB using 26.3M of memory
--
Jon Morby
FidoNet Registration Services Ltd
tel: 0845 004 3050 / fax: 0845 004 3051
web: http://www.fido.net/