This is an automated email from the ASF dual-hosted git repository.
urfree pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git
The following commit(s) were added to refs/heads/main by this push:
new b6eebf7 update
b6eebf7 is described below
commit b6eebf7f5c7b2757588f1d05fb0cc5b71d53f112
Author: LiLi <[email protected]>
AuthorDate: Wed Jan 26 20:08:03 2022 +0800
update
Signed-off-by: LiLi <[email protected]>
---
.github/actions/tune-runner-vm/action.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/actions/tune-runner-vm/action.yml
b/.github/actions/tune-runner-vm/action.yml
index c175031..e8914db 100644
--- a/.github/actions/tune-runner-vm/action.yml
+++ b/.github/actions/tune-runner-vm/action.yml
@@ -31,11 +31,11 @@ runs:
# The default vm.swappiness setting is 60 which has a tendency to
start swapping when memory
# consumption is high.
# Set vm.swappiness=1 to avoid swapping and allow high RAM usage
- echo 100 | sudo tee /proc/sys/vm/swappiness
+ echo 1 | sudo tee /proc/sys/vm/swappiness
# Set swappiness to 1 for all cgroups and sub-groups
for swappiness_dir in /sys/fs/cgroup/memory/*/
/sys/fs/cgroup/memory/*/*/; do
if [ -d "swappiness_dir" ]; then
- echo 100 | sudo tee $(swappiness_dir)memory.swappiness >
/dev/null
+ echo 1 | sudo tee $(swappiness_dir)memory.swappiness >
/dev/null
fi
done