-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
rhel-9.5
-
No
-
Moderate
-
rhel-sst-network-management
-
ssg_networking
-
None
-
False
-
-
None
-
None
-
-
None
-
None
-
None
When there are lot of routes added to the system (like millions) NetworkManager takes a lot time to start. If TRACE logs are enabled, additionally to being even slower (for obvious reasons), these messages are seen:
```
<trace> [1724148515.1636] platform-linux: rtnl: recvmsg: new message RTM_NEWROUTE, flags multi,dump_filtered, seq 4
<trace> [1724148515.1636] platform-linux: event-notification: RTM_NEWROUTE, flags multi,dump_filtered, seq 4: ignore
```
Recently Beniamino added a patch to avoid dumping all routes from the kernel, but only those that we are interested in: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1978. It works well for cache resyncs, but it seems that it's not being used for the start up.