Closed klingon888 closed 3 years ago
me too
✅🇨🇿 Turris OS 5.1.10 Exhibits this behavior as well
Me too.. I am using a x86 based mini pc which has ample amount of memory.. adjusted the buffer size as well , still facing the issue.
Same here. Tried adjusting the buffer size to no avail.
A warning has been implemented in https://github.com/jow-/nlbwmon/commit/d82c910cc3d6021567c925e767ed1fd8c3934f4b pointing out the need to increase net.core.rmem_max as well.
Add following lines in sysctl to increase kernel buffers as well : (default is 128k, following config will increase it to 16m)
net.core.rmem_default=16777216 net.core.wmem_default=16777216 net.core.rmem_max=16777216 net.core.wmem_max=16777216
I'm getting the following errors every few hours:
daemon.err nlbwmon[21812]: Netlink receive failure: Out of memory
daemon.err nlbwmon[21812]: Unable to dump conntrack: No buffer space available
My stats:
# cat /proc/sys/net/netfilter/nf_conntrack_count 632
# cat /proc/sys/net/netfilter/nf_conntrack_max 16384
I've already increased buffer size to 100M and restarted nlbwmon but still getting these errors. Also changed the Commit interval to 1hr, hoping that this commit will flush the buffer after writing to the database but not helping. Strange this is, even after increasing the buffer to 100M and running for a few hrs and getting this error, my total memory usage still shows the same. I'd think it will increase by 100M?? How to fix this? Thanks.