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

tcp_tw_recycle 废弃了 #714

Closed
baosong818 opened this issue Oct 23, 2019 · 2 comments
Closed

tcp_tw_recycle 废弃了 #714

baosong818 opened this issue Oct 23, 2019 · 2 comments

Comments

@baosong818
Copy link

sysctl: cannot stat /proc/sys/net/ipv4/tcp_tw_recycle: No such file or directory

Linux 从4.12内核版本开始移除了 tcp_tw_recycle 配置。

参考:[1]tcp:remove tcp_tw_recycle 4396e460

移除sysctl.conf中关于net.ipv4.tcp_tw_recycle的配置内容,再次尝试sysctl -p就不再提示报错了。

是否可以干掉这个,望同步

@gjmzj
Copy link
Collaborator

gjmzj commented Oct 27, 2019

感谢提供信息,考虑到不少用户还是使用centos7/ubuntu1604作为主力OS;新增条件判断内核版本,当内核版本小于 4.12 时还是应用该tcp_tw_recycle的配置

@baosong818
Copy link
Author

谢谢

gjmzj added a commit that referenced this issue Nov 3, 2019
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

2 participants