Hello!

It's expected to have a completely different data structure for interfaces, together with some larger reworks, but I'm afraid that it's gonna land somewhere around BIRD 3.7 or later.

There may be some workaround inbetween which may help some cases, yet even that is not much expected to get backported. The data structure is almost the original one, expecting that interfaces appearing and disappearing are not a usual thing to happen. A code in progress, with nothing guaranteed, may be in the branch ip-iface-inactive.

I hope this helps.
Maria


On November 13, 2026 4:21:25 PM GMT+01:00, Nick_Jeniston <herbby4@gmail.com> wrote:
Hello!

We run BIRD 3.1.3 on hosts where network interfaces (tap, veth, bridges, OVS ports) with unique names are created and deleted all the time. On long-running instances the main I/O loop starts stalling for several seconds ("I/O loop cycle took 5000-6500 ms").
We traced it to removed interfaces that stay in global_iface_list forever: after several months a host has tens of thousands of dead struct iface records (IF_SHUTDOWN, named after long-gone ports), and if_find_by_index / if_update walk all of them. A BIRD restart brings the link scan back from seconds to tens of milliseconds.

This looks like the issue discussed in July 2022:
https://bird.network.cz/pipermail/bird-users/2022-July/016228.html

There it was mentioned that reference counting for interface objects would probably land in a future version of BIRD 3. In 3.1.3 if_unlink() still has "TODO: Do some interface object cleanup".

We could not find anything about this in the release announcements since 2022, so we would like to ask:

We could not find any news about this since 2022, so a few questions:

1. Is this issue still on your radar, and is a fix planned?
2. If not, could we contribute by preparing a patch? We would be glad
   to work on it, following the approach you would prefer.
3. Until then, is there any workaround besides restarting BIRD?

Thank you for developing and maintaining BIRD, it has served us well
for years.

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