Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Netlink receive failure: Out of memory #43

Closed
klingon888 opened this issue Dec 22, 2020 · 6 comments
Closed

Netlink receive failure: Out of memory #43

klingon888 opened this issue Dec 22, 2020 · 6 comments

Comments

@klingon888
Copy link

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.

@WYC-2020
Copy link

me too

@MikeKlem
Copy link

✅🇨🇿 Turris OS 5.1.10 Exhibits this behavior as well

@chirayu-patel
Copy link

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.

@VirenDias
Copy link

Same here. Tried adjusting the buffer size to no avail.

@jow-
Copy link
Owner

jow- commented Sep 15, 2021

A warning has been implemented in d82c910 pointing out the need to increase net.core.rmem_max as well.

@jow- jow- closed this as completed Sep 15, 2021
@shamitv
Copy link

shamitv commented Jan 26, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants