<div><font>Hi,there!</font></div><div><font><div>By modifying the weight value of the routing attribute through the filter, the system becomes extremely sluggish, with bird consuming nearly 100% of the CPU.</div><div><br></div><div>OS: Alpine Linux 3.23</div><div>bird version: 2.18</div><div>filter code:</div><div>function xxx() {</div><div><div>    if (1, 1, 200)~ bgp_large_community then {</div><div><span style="white-space: normal;"><span style="white-space:pre">            </span>bgp_med = bgp_med + 500;</span></div><div><span style="white-space: normal;"><span style="white-space:pre">              </span>weight = 10;</span></div><div>    }</div><div>    if (1, 1, 197)~ bgp_large_community then {</div><div><span style="white-space: normal;"><span style="white-space:pre">             </span>bgp_med = bgp_med + 505;</span></div><div><span style="white-space: normal;"><span style="white-space:pre">              </span>weight = 20;</span></div><div>    }</div></div><div>}</div><div><div>system log:</div><div><div>Jan 10 00:03:19 r1 daemon.warn bird: I/O loop cycle took 30216.832 ms for 22 events</div><div>Jan 10 00:03:38 r1 daemon.warn bird: I/O loop cycle took 18453.030 ms for 23 events</div><div>Jan 10 00:03:56 r1 daemon.warn bird: I/O loop cycle took 18454.469 ms for 14 events</div><div>Jan 10 00:04:15 r1 daemon.warn bird: I/O loop cycle took 18441.226 ms for 13 events</div></div></div><div><pre>Thank you
</pre></div><div><br></div></font></div><div><includetail><!--<![endif]--></includetail></div>