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

swapoff -a && swapon -a 关闭后又开启,用户容易误解 #5090

Closed
jacktd9 opened this issue Dec 15, 2020 · 4 comments
Closed

swapoff -a && swapon -a 关闭后又开启,用户容易误解 #5090

jacktd9 opened this issue Dec 15, 2020 · 4 comments
Assignees
Labels
area/tiup Indicates that the Issue or PR belongs to the area of the TiUP tool. type/bugfix This PR fixes a bug.

Comments

@jacktd9
Copy link

jacktd9 commented Dec 15, 2020

File: /check-before-deployment.md

echo "vm.swappiness = 0">> /etc/sysctl.conf
swapoff -a && swapon -a
sysctl -p

遇到好些个用户直接 copy 脚本执行,未看文章前头的说明,使得 swap 没被关闭,是否考虑把 && swapon -a 去掉呢?
或者追加 [...] 说明下

@CharLotteiu
Copy link
Contributor

@superlzs0476 PTAL, thanks~

@github-actions
Copy link

This issue is stale because it has been open for 60 days with no activity. If no comment has been made and the lifecycle/stale label is not removed, this issue will be closed in 15 days.

@github-actions github-actions bot added the lifecycle/stale This issue has been open for 60 days with no activity. label Feb 14, 2021
@TomShawn TomShawn removed the lifecycle/stale This issue has been open for 60 days with no activity. label Feb 18, 2021
@TomShawn
Copy link
Contributor

TomShawn commented Mar 3, 2021

@pepezzzz 能帮忙看下吗?谢谢~

@qiancai qiancai added type/bugfix This PR fixes a bug. area/tiup Indicates that the Issue or PR belongs to the area of the TiUP tool. labels Feb 10, 2022
@shichun-0415
Copy link
Contributor

Fixed in #7443.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/tiup Indicates that the Issue or PR belongs to the area of the TiUP tool. type/bugfix This PR fixes a bug.
Projects
None yet
Development

No branches or pull requests

5 participants