Very often I see these errors in the logs. What does it mean and how to fix?
Sun May 4 08:00:39 2025 daemon.err nlbwmon[2614]: Netlink receive failure: Out of memory
Sun May 4 08:00:39 2025 daemon.err nlbwmon[2614]: Unable to dump conntrack: No buffer space available
Sun May 4 08:09:09 2025 daemon.err nlbwmon[2614]: Netlink receive failure: Out of memory
Sun May 4 08:09:09 2025 daemon.err nlbwmon[2614]: Unable to dump conntrack: No buffer space available
Sun May 4 08:11:09 2025 daemon.err nlbwmon[2614]: Netlink receive failure: Out of memory
Sun May 4 08:11:09 2025 daemon.err nlbwmon[2614]: Unable to dump conntrack: No buffer space available
daemon.err nlbwmon: Netlink receive failure: Out of memory
daemon.err nlbwmon: Unable to dump conntrack: No buffer space available
That's on R7800 ipq-806x kernel 6.6.93.
My settings from 23.05 are the same and on 23.05 I have never seen that error appear after making bellow settings changes.
config nlbwmon
option netlink_buffer_size '1573376' <-- I changed this
option commit_interval '24h'
option database_directory '/var/lib/nlbwmon'
option database_generations '10'
option database_interval '1'
option database_limit '10000'
option protocol_database '/usr/share/nlbwmon/protocols'
list local_network '192.168.0.0/16'
list local_network '172.16.0.0/12'
list local_network '10.0.0.0/8'
list local_network 'lan'
option refresh_interval '5m'
# Defaults are configured in /etc/sysctl.d/* and can be customized in this file
rp_filter = 2
#net.core.rmem_max=3146752
#net.core.wmem_max=3146752
net.core.rmem_default=10485760
net.core.wmem_default=10485760
net.core.rmem_max=10485760
net.core.wmem_max=10485760
Change your /etc/config/nlbwmon with: uci set nlbwmon.@nlbwmon[0].netlink_buffer_size='10485760' uci commit nlbwmon