<div dir="ltr">Hi all,<br><br>Thanks for sharing your experience, Darshan.<br><br>In my case, the high CPU usage was mostly caused by `zebra` and `bgpd` after enabling RPKI validation in FRR 9.0.1 on Ubuntu 20.04.6. Additionally, I noticed failed attempts to install routes and continuous nexthop hash entry errors in the logs, which seemed to trigger a loop of kernel update attempts.<br><br>I’ve now upgraded to FRR 10.3 and the issue has been resolved. CPU usage dropped significantly, and the RPKI process behaves normally.<br><br>Best regards,  <br>Celsa Sánchez</div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">El dom, 18 may 2025 a las 6:06, Darshan Kowlaser (<<a href="mailto:darshan@darshankowlaser.com">darshan@darshankowlaser.com</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Hello,</div><div dir="auto"><br></div><div dir="auto">It ended up being related to SNMP. after disabling SNMP my problem disappeared. <br clear="all"><br clear="all"><div dir="auto"><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Thanks,<br></div><div>Darshan</div></div></div></div></div><div><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 16 May 2025 at 16:54, Celsa Sanchez <<a href="mailto:ccssantana25@gmail.com" target="_blank">ccssantana25@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<br><br>I'm also experiencing high CPU usage after enabling RPKI validation in FRR.  <br>I'm running version 9.0.1 on Ubuntu 20.04.6 LTS.<br><br>Additionally, I'm having trouble stopping the RPKI validation using `vtysh`.  <br>Is there any known issue with this version, or recommended steps to properly reset or disable RPKI?<br><br>Any suggestions would be appreciated.<br><br>Best regards,  <br>Celsa Sánchez<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El lun, 25 nov 2024 a las 5:43, Darshan Kowlaser via frog (<<a href="mailto:frog@lists.frrouting.org" target="_blank">frog@lists.frrouting.org</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br><br><br>---------- Forwarded message ----------<br>From: Darshan Kowlaser <<a href="mailto:darshan@darshankowlaser.com" target="_blank">darshan@darshankowlaser.com</a>><br>To: <a href="mailto:frog@lists.frrouting.org" target="_blank">frog@lists.frrouting.org</a><br>Cc: <br>Bcc: <br>Date: Mon, 25 Nov 2024 10:22:11 +0200<br>Subject: RPKI process efficiency<br><div dir="ltr"><div>Hello</div><div><br></div><div>I'm experiencing high CPU usage on my RPKI process which is very odd. To elaborate, I have two vyos boxes that have similar configuration for the edge just handling BGP and OSPF to the core. On one of the routers I have excessively high CPU usage and when checking the processes RPKI sits very high compared to the other router.</div><div><br></div><div>FRR Version:<br></div><div>`<b>FRRouting 9.1.1 (za-ct-ter-dc-rt-edge-01) on Linux(6.6.43-amd64-vyos).</b></div><b>Copyright 1996-2005 Kunihiro Ishiguro, et al.<br>configured with:<br>    '--build=x86_64-linux-gnu' '--prefix=/usr' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/x86_64-linux-gnu' '--libexecdir=${prefix}/lib/x86_64-linux-gnu' '--disable-maintainer-mode' '--localstatedir=/var/run/frr' '--sbindir=/usr/lib/frr' '--sysconfdir=/etc/frr' '--with-vtysh-pager=/usr/bin/pager' '--libdir=/usr/lib/x86_64-linux-gnu/frr' '--with-moduledir=/usr/lib/x86_64-linux-gnu/frr/modules' '--disable-dependency-tracking' '--enable-rpki' '--enable-scripting' '--enable-pim6d' '--with-libpam' '--enable-doc' '--enable-doc-html' '--enable-snmp' '--enable-fpm' '--disable-protobuf' '--disable-zeromq' '--enable-ospfapi' '--enable-bgp-vnc' '--enable-multipath=256' '--enable-user=frr' '--enable-group=frr' '--enable-vty-group=frrvty' '--enable-configfile-mask=0640' '--enable-logfile-mask=0640' 'build_alias=x86_64-linux-gnu' 'PYTHON=python3'</b><br><div>`</div><div><br></div><div>Here is my RPKI configuration on the router experiencing high process CPU usage :</div><div><br></div><div>In Vtysh:<br>`<b>rpki</b></div><b> rpki cache <a href="http://cpt-rpki-validator-01.example.xyz" target="_blank">cpt-rpki-validator-01.example.xyz</a> 3323 preference 1<br> rpki cache <a href="http://cpt-rpki-validator-02.example.xyz" target="_blank">cpt-rpki-validator-02.example.xyz</a> 8282 preference 2</b><div>`</div><div><br></div><div>In VyOS:</div><div>`<b>set protocols rpki cache <a href="http://cpt-rpki-validator-01.example.xyz" target="_blank">cpt-rpki-validator-01.example.xyz</a> port '3323'</b></div><b> set protocols rpki cache <a href="http://cpt-rpki-validator-01.example.xyz" target="_blank">cpt-rpki-validator-01.example.xyz</a> preference '1'<br> set protocols rpki cache <a href="http://cpt-rpki-validator-02.example.xyz" target="_blank">cpt-rpki-validator-02.example.xyz</a> port '8282'<br> set protocols rpki cache <a href="http://cpt-rpki-validator-02.example.xyz" target="_blank">cpt-rpki-validator-02.example.xyz</a> preference '2'<br></b><div><b> set protocols rpki polling-period '3600</b></div><div>`</div><div><br></div><div>The only thing different on the other box is that the server preference is inverted. RPKI servers are running routinator and stayRTR, the router with the issue preferences routinator. See below showing that it is the most intensive process on the CPU :</div><div><br></div><div><img src="cid:ii_m3wrclkm0" alt="image.png" style="width: 812px; max-width: 100%;"><br></div><div><br></div><div>Would be greatly appreciated if anyone could advise.</div></div>
<br><br><br>---------- Forwarded message ----------<br>From: Darshan Kowlaser via frog <<a href="mailto:frog@lists.frrouting.org" target="_blank">frog@lists.frrouting.org</a>><br>To: <a href="mailto:frog@lists.frrouting.org" target="_blank">frog@lists.frrouting.org</a><br>Cc: <br>Bcc: <br>Date: Mon, 25 Nov 2024 10:22:11 +0200<br>Subject: [FROG] RPKI process efficiency<br>_______________________________________________<br>
frog mailing list<br>
<a href="mailto:frog@lists.frrouting.org" target="_blank">frog@lists.frrouting.org</a><br>
<a href="https://lists.frrouting.org/listinfo/frog" rel="noreferrer" target="_blank">https://lists.frrouting.org/listinfo/frog</a><br>
</blockquote></div>
</blockquote></div></div>
</blockquote></div>