Regression #14163
closedRunning ``ifconfig`` logs a high volume of netlink debug messages (``genl_handle_message``) on dev snapshots
100%
Description
System log is being spammed with kernel messages. CE 2.7.0.a.20230322.0600. It only appears to happen when the Dashboard is accessed, spamming stops when other configuration webpages are selected.
Mar 23 07:32:39 kernel [nl_generic] PID 62193 genl_handle_message: received family nlctrl cmd GETFAMILY(3) len 32 Mar 23 07:32:39 kernel [nl_generic] PID 61547 genl_handle_message: received family carp cmd SIOCGVH(1) len 28 Mar 23 07:32:39 kernel [nl_generic] PID 61547 genl_handle_message: received family nlctrl cmd GETFAMILY(3) len 32 Mar 23 07:32:39 kernel [nl_generic] PID 61261 genl_handle_message: received family carp cmd SIOCGVH(1) len 28 Mar 23 07:32:39 kernel [nl_generic] PID 61261 genl_handle_message: received family nlctrl cmd GETFAMILY(3) len 32
Related issues
Updated by Christian McDonald over 1 year ago
- Category changed from Dashboard to Operating System
- Status changed from New to Waiting on Merge
This will be fixed when we do our next merge from upstream FreeBSD
Updated by Robert Karsai over 1 year ago
Hi, I think this is related: https://redmine.pfsense.org/issues/14139 CARP do have problems in the last few builds, they are not just spam messages. BR, Robert
Updated by Jim Pingle over 1 year ago
- Assignee set to Kristof Provost
- Target version set to 2.7.0
- Plus Target Version set to 23.05
Updated by Kristof Provost over 1 year ago
As Christian said, these logs will go away with the next upstream merge.
They are harmless and can safely be ignored. If they bug you setting the `net.netlink.debug.nl_generic_debug_level` sysctl to 7 will make them go away. That's functionally equivalent to the upstream 'fix' for this (in quotes, because this is just an overly verbose log, not an actual problem).
As for issue 14139, the reason those logs turn up there is because carp configuration now uses netlink, which triggers these logs. The problem there is not caused by these logs.
Updated by Jim Pingle over 1 year ago
For the record, this appears to be triggered by running ifconfig
. So any page or action that ends up using ifconfig will trigger the messages. That makes it simple to test even without hitting the GUI.
After setting sysctl net.netlink.debug.nl_generic_debug_level=7
the messages no longer appear when running ifconfig manually or from the GUI (dashboard, interface status page, etc.).
Updated by Jim Pingle over 1 year ago
- Tracker changed from Bug to Regression
- Subject changed from Logs filled with kernel messages CE 2.7.0 dev to Running ``ifconfig`` logs a high volume of netlink debug messages (``genl_handle_message``) on dev snapshots
- Release Notes changed from Default to Force Exclusion
Updating subject and excluding from release notes since it was a regression introduced between snapshots and not in any release.
Updated by Jim Pingle over 1 year ago
- Status changed from Waiting on Merge to Feedback
- % Done changed from 0 to 100
This was merged: https://gitlab.netgate.com/pfSense/FreeBSD-src/-/merge_requests/126
Updated by Jim Pingle over 1 year ago
- Status changed from Feedback to Resolved
The errors when running ifconfig and some others are gone, but there are still some others I see here and there that may be in a different area. I'll open a new issue for those messages on 23.09.
Updated by Jim Pingle over 1 year ago
- Related to Regression #14370: Console and system log may contain unnecessary Netlink debug messages from IPsec added