Nice, gonna check whether it happens in my case. Thanks for your report, I'll let you know if i need anything more from you.

Maria


On 20 October 2024 23:25:46 GMT-04:00, benli ye <danielbenliye@gmail.com> wrote:
Hi!

Yes, you are right. Only one thing that I need to correct is that address which is repeated added and deleted is not the next hop address, it’s just a normal address on the interface.
I will try to make it reproduce easily.

Thanks,
Daniel 


On Oct 18, 2024, at 21:03, Maria Matějka <mq@jmq.cz> wrote:

Hi!

On Fri, Oct 18, 2024 at 08:50:18PM +0800, benli ye wrote:

Thanks for your response. I have reproduced this issue in our test environment. However, it may not be easy to reproduce again.

Our bird conf example: (image) I have make a shell script to add and remove an IP address of an interface repeatedly. Somehow, I get a 100% cpu issue for bird.

So basically, before we dive into it.

  • a device and kernel protocol
  • a static protocol with lots of multipath routes
  • repeatedly adding and deleting one of the nexthop addresses at the interface
  • everything else seems irrelevant

Do I understand that correctly?

The reason why I’m asking – we need to catch the bug way earlier than when it hangs, as the hang is a symptom. The direct cause is somewhere else and it’s hard to find where without an actual reproducer.

Thanks,
Maria


Maria Matejka (she/her) | https://maria.jmq.cz/


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