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

set sysctl variables on cni server startup #1758

Merged
merged 1 commit into from
Aug 2, 2022

Conversation

zhangzujian
Copy link
Member

@zhangzujian zhangzujian commented Aug 1, 2022

What type of this PR

  • Enhancement

Which issue(s) this PR fixes:

Fixes #1705 & #1706.

Set the following sysctl variables on CNI startup:

net.netfilter.nf_conntrack_tcp_be_liberal=1
net.ipv4.neigh.default.gc_thresh1=1024
net.ipv4.neigh.default.gc_thresh2=2048
net.ipv4.neigh.default.gc_thresh3=4096

@zhangzujian zhangzujian linked an issue Aug 1, 2022 that may be closed by this pull request
@zhangzujian zhangzujian marked this pull request as ready for review August 1, 2022 12:57
@zhangzujian zhangzujian merged commit 916600f into kubeovn:master Aug 2, 2022
@zhangzujian zhangzujian deleted the fix-sysctl branch August 2, 2022 08:37
oilbeater pushed a commit that referenced this pull request Aug 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improve exist functions need backport
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

increase net.ipv4.neigh.default.gc_thresh enable kernel args nf_conntrack_tcp_be_liberal
2 participants