Re: Error: Hold timer expired

2024-02-29 Thread Maria Matejka via Bird-users
Hello!

You probably hit the architectural limits of single thread routing. Try BIRD 3 
(alpha).

Also with this load, it's very much recommended to have a BIRD Support package 
to have us booked for resolving high load problems. It's a time-consuming and 
very fiddly job for experienced developers. Please see 
https://bird.nic.cz/en/commercial-services/ for more details, and/or contact me 
off-list for a customized quote.

Happy routing!
Maria


On 29 February 2024 10:08:56 CET, "mx.avanttel.ru via Bird-users" 
 wrote:
>hello my friend, all the peers lose their connection at once, at different 
>times, the server of 1500,000 networks and 300 routes, where to look for 
>what to adjust, I ask for help, the server itself does not fall, the service 
>does not fall either
>
>
>
>]
>Feb 27 05:02:45 bgp-01 bird: bgpMSKIX: Error: Hold timer expired
>Feb 27 05:03:29 bgp-01 bird: bgpRFET2: Error: Hold timer expired
>Feb 27 05:03:36 bgp-01 bird: bgpGLFW: Error: Hold timer expired
>Feb 27 05:03:40 bgp-01 bird: Kernel dropped some netlink messages, will resync 
>on next scan.
>Feb 27 05:03:45 bgp-01 bird: bgpKOMP: Error: Hold timer expired
>Feb 27 05:03:58 bgp-01 bird: I/O loop cycle took 5094 ms for 6 events
>Feb 27 05:04:29 bgp-01 bird: bgpZap: Error: Hold timer expired
>Feb 27 05:04:44 bgp-01 bird: bgpSAL: Received: Hold timer expired
>Feb 27 05:04:56 bgp-01 bird: bgpRKN2: Received: Hold timer expired
>Feb 27 05:04:56 bgp-01 bird: bgpFIT: Error: Hold timer expired
>Feb 27 05:05:02 bgp-01 bird: bgpGLIX1: Error: Hold timer expired
>Feb 27 05:05:05 bgp-01 bird: Kernel dropped some netlink messages, will resync 
>on next scan.
>Feb 27 05:05:16 bgp-01 bird: bgpRFET1: Received: Hold timer expired
>Feb 27 05:05:19 bgp-01 bird: bgpRKN1: Received: Hold timer expired

-- 
Maria Matejka (she/her) | BIRD Team Leader | CZ.NIC, z.s.p.o.

Re: Error: Hold timer expired

2017-08-09 Thread Łukasz Trąbiński
Hi

Try set „multihop 10” for example.

> Wiadomość napisana przez Marek Królikowski  w dniu 
> 08.08.2017, o godz. 17:57:
> 
> Hello guys,
> I buy VPS with BGP and try setup BGP session but got strange problem.
> VPS support send me this information to setup session:
> "Please peer with 185.144.XXX.YYY, you will need to enable eBGP multihop.
> Our ASN is .
> The IPv6 peer address is 2a04:9dc0:XX:YYY::1"
> 
> My bird configuration looks like this:
> ---
> router id 85.204.XXX.YYY;
> # debug protocols all;
> protocol device {
> scan time 10;
> }
> 
> protocol static {
>route 2a04:9dc0:XX:YYY::1/128 via "eth0";
> }
> 
> protocol kernel {
>device routes;
>import none;
>scan time 15;
>export filter {
>if net = 2a04:9dc0:XX:YYY::1/128 then reject;
>if source = 2a04:9dc0:XX:YYY::1/128 then reject;
>accept;
>};
> }
> 
> protocol bgp Romania
> {
>description "Romania link local";
>local as Y;
>source address 2a04:9dc0:X:YY::f0;
>graceful restart on;
>default bgp_local_pref 200;
>multihop 2;
>neighbor 2a04:9dc0:XX:YYY::1 as ;
>import filter {
>if net = 2a04:9dc0:XX:YYY::1/128 then reject;
>if source = 2a04:9dc0:XX:YYY::1/128 then reject;
>if bgp_path.len > 49 then reject;
>accept;
>};
>export filter {
>if net = 2a07:1c44:3511::/48 then accept;
>reject;
> };
> }
> ---
> 
> In logs got it:
> Aug  8 16:21:41 ro-bgp bird6: Romania: Error: Hold timer expired
> Aug  8 16:24:02 ro-bgp bird6: Romania: Error: Hold timer expired
> Aug  8 16:27:07 ro-bgp bird6: Romania: Error: Hold timer expired
> Aug  8 16:35:58 ro-bgp bird6: Romania: Error: Hold timer expired
> Aug  8 16:37:25 ro-bgp bird6: Romania: Error: Hold timer expired
> Aug  8 16:39:27 ro-bgp bird6: Romania: Error: Hold timer expired
> Aug  8 16:41:57 ro-bgp bird6: Romania: Error: Hold timer expired
> Aug  8 16:56:19 ro-bgp bird6: Romania: Error: Hold timer expired
> Aug  8 17:00:29 ro-bgp bird6: Romania: Error: Hold timer expired
> Aug  8 17:06:10 ro-bgp bird6: Romania: Error: Hold timer expired
> Aug  8 17:09:58 ro-bgp bird6: Romania: Error: Hold timer expired
> Aug  8 17:13:01 ro-bgp bird6: Romania: Error: Hold timer expired
> Aug  8 17:15:08 ro-bgp bird6: Romania: Error: Hold timer expired
> Aug  8 17:18:15 ro-bgp bird6: Romania: Error: Hold timer expired
> Aug  8 17:22:58 ro-bgp bird6: Romania: Error: Hold timer expired
> Aug  8 17:29:17 ro-bgp bird6: Romania: Error: Hold timer expired
> Aug  8 17:31:49 ro-bgp bird6: Romania: Error: Hold timer expired
> Aug  8 17:35:17 ro-bgp bird6: Romania: Error: Hold timer expired
> Aug  8 17:40:08 ro-bgp bird6: Romania: Error: Hold timer expired
> 
> 
> root@bgp:~# birdc6 show protocols all Romania
> BIRD 1.6.3 ready.
> name prototablestate  since   info
> Romania  BGP  master   up 16:22:37Established
>  Description:Romania link local
>  Preference: 100
>  Input filter:   (unnamed)
>  Output filter:  (unnamed)
>  Routes: 11560 imported, 5 exported, 11560 preferred
>  Route change stats: received   rejected   filteredignored
> accepted
>Import updates:  11560  0  0  0
> 11560
>Import withdraws:0  0---  0
> 0
>Export updates:  11586  11560 21---
> 5
>Export withdraws:0---------
> 0
>  BGP state:  Established
>Neighbor address: 2a04:9dc0:XX:YYY::1
>Neighbor AS: 
>Neighbor ID:  185.144.
>Neighbor caps:refresh restart-aware AS4
>Session:  external multihop AS4
>Source address:   2a04:9dc0:X:YY::f0;
>Hold timer:   27/90
>Keepalive timer:  23/30
> 
> root@bgp:~# birdc6 show protocols all Romania
> BIRD 1.6.3 ready.
> name prototablestate  since   info
> Romania  BGP  master   start  16:24:05Idle  BGP Error: Hold
> timer expired
>  Description:Romania link local
>  Preference: 100
>  Input filter:   (unnamed)
>  Output filter:  (unnamed)
>  Routes: 0 imported, 0 exported, 0 preferred
>  Route change stats: received   rejected   filteredignored
> accepted
>Import updates:  0  0  0  0
> 0
>Import withdraws:0  0---  0
> 0
>Export updates:  0  0  0---
> 0
>Export withdraws:0---------
> 0
>  BGP state:  Idle
>Neighbor address: 2a04:9dc0:XX:YYY::1
>Neighbor AS:  
>Error wait:   57/120
>Last error:   BGP Error: Hold timer expired
> 
> 
> Best Regards
> Marek Krolikowski
> 
>