This is an automated email from the ASF dual-hosted git repository.

zhaoxinyi pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iotdb-docs.git


The following commit(s) were added to refs/heads/main by this push:
     new d24d4923 Problem with modifying system configuration page (#464)
d24d4923 is described below

commit d24d492343971d626c7c2984ee48981c8413e5b0
Author: W1y1r <[email protected]>
AuthorDate: Fri Dec 13 11:15:32 2024 +0800

    Problem with modifying system configuration page (#464)
---
 .../Tree/Deployment-and-Maintenance/Environment-Requirements.md      | 5 +++--
 .../V1.3.0-2/Deployment-and-Maintenance/Environment-Requirements.md  | 5 +++--
 .../latest/Deployment-and-Maintenance/Environment-Requirements.md    | 4 ++--
 .../Tree/Deployment-and-Maintenance/Environment-Requirements.md      | 4 ++--
 .../V1.3.0-2/Deployment-and-Maintenance/Environment-Requirements.md  | 4 ++--
 .../latest/Deployment-and-Maintenance/Environment-Requirements.md    | 4 ++--
 6 files changed, 14 insertions(+), 12 deletions(-)

diff --git 
a/src/UserGuide/Master/Tree/Deployment-and-Maintenance/Environment-Requirements.md
 
b/src/UserGuide/Master/Tree/Deployment-and-Maintenance/Environment-Requirements.md
index 539d03b0..d2b6ff06 100644
--- 
a/src/UserGuide/Master/Tree/Deployment-and-Maintenance/Environment-Requirements.md
+++ 
b/src/UserGuide/Master/Tree/Deployment-and-Maintenance/Environment-Requirements.md
@@ -150,7 +150,7 @@ systemctl start sshd # Enable port 22
 
 ### Other Configuration
 
-1. Disable the system swap memory
+1. Reduce the system swap priority to the lowest level
 
 ```Bash
 echo "vm.swappiness = 0">> /etc/sysctl.conf
@@ -159,9 +159,10 @@ echo "vm.swappiness = 0">> /etc/sysctl.conf
 swapoff -a && swapon -a
 # Make the configuration take effect without restarting.
 sysctl -p
-# Check memory allocation, expecting swap to be 0
+# Swap's used memory has become 0
 free -m
 ```
+
 2. Set the maximum number of open files to 65535 to avoid the error of "too 
many open files".
 
 ```Bash
diff --git 
a/src/UserGuide/V1.3.0-2/Deployment-and-Maintenance/Environment-Requirements.md 
b/src/UserGuide/V1.3.0-2/Deployment-and-Maintenance/Environment-Requirements.md
index 539d03b0..d2b6ff06 100644
--- 
a/src/UserGuide/V1.3.0-2/Deployment-and-Maintenance/Environment-Requirements.md
+++ 
b/src/UserGuide/V1.3.0-2/Deployment-and-Maintenance/Environment-Requirements.md
@@ -150,7 +150,7 @@ systemctl start sshd # Enable port 22
 
 ### Other Configuration
 
-1. Disable the system swap memory
+1. Reduce the system swap priority to the lowest level
 
 ```Bash
 echo "vm.swappiness = 0">> /etc/sysctl.conf
@@ -159,9 +159,10 @@ echo "vm.swappiness = 0">> /etc/sysctl.conf
 swapoff -a && swapon -a
 # Make the configuration take effect without restarting.
 sysctl -p
-# Check memory allocation, expecting swap to be 0
+# Swap's used memory has become 0
 free -m
 ```
+
 2. Set the maximum number of open files to 65535 to avoid the error of "too 
many open files".
 
 ```Bash
diff --git 
a/src/UserGuide/latest/Deployment-and-Maintenance/Environment-Requirements.md 
b/src/UserGuide/latest/Deployment-and-Maintenance/Environment-Requirements.md
index 539d03b0..a1b54472 100644
--- 
a/src/UserGuide/latest/Deployment-and-Maintenance/Environment-Requirements.md
+++ 
b/src/UserGuide/latest/Deployment-and-Maintenance/Environment-Requirements.md
@@ -150,7 +150,7 @@ systemctl start sshd # Enable port 22
 
 ### Other Configuration
 
-1. Disable the system swap memory
+1. Reduce the system swap priority to the lowest level
 
 ```Bash
 echo "vm.swappiness = 0">> /etc/sysctl.conf
@@ -159,7 +159,7 @@ echo "vm.swappiness = 0">> /etc/sysctl.conf
 swapoff -a && swapon -a
 # Make the configuration take effect without restarting.
 sysctl -p
-# Check memory allocation, expecting swap to be 0
+# Swap's used memory has become 0
 free -m
 ```
 2. Set the maximum number of open files to 65535 to avoid the error of "too 
many open files".
diff --git 
a/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/Environment-Requirements.md
 
b/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/Environment-Requirements.md
index 99c5b14c..75be11d6 100644
--- 
a/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/Environment-Requirements.md
+++ 
b/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/Environment-Requirements.md
@@ -162,7 +162,7 @@ systemctl start sshd                  #启用22号端口
 
 ### 其他配置
 
-1. 关闭系统 swap 内存
+1. 将系统 swap 优先级降至最低
 
 ```Bash
 echo "vm.swappiness = 0">> /etc/sysctl.conf
@@ -171,7 +171,7 @@ echo "vm.swappiness = 0">> /etc/sysctl.conf
 swapoff -a && swapon -a
 # 在不重启的情况下使配置生效。
 sysctl -p
-# 检查内存分配,预期 swap 为 0
+# swap的已使用内存变为0
 free -m
 ```
 
diff --git 
a/src/zh/UserGuide/V1.3.0-2/Deployment-and-Maintenance/Environment-Requirements.md
 
b/src/zh/UserGuide/V1.3.0-2/Deployment-and-Maintenance/Environment-Requirements.md
index 99c5b14c..75be11d6 100644
--- 
a/src/zh/UserGuide/V1.3.0-2/Deployment-and-Maintenance/Environment-Requirements.md
+++ 
b/src/zh/UserGuide/V1.3.0-2/Deployment-and-Maintenance/Environment-Requirements.md
@@ -162,7 +162,7 @@ systemctl start sshd                  #启用22号端口
 
 ### 其他配置
 
-1. 关闭系统 swap 内存
+1. 将系统 swap 优先级降至最低
 
 ```Bash
 echo "vm.swappiness = 0">> /etc/sysctl.conf
@@ -171,7 +171,7 @@ echo "vm.swappiness = 0">> /etc/sysctl.conf
 swapoff -a && swapon -a
 # 在不重启的情况下使配置生效。
 sysctl -p
-# 检查内存分配,预期 swap 为 0
+# swap的已使用内存变为0
 free -m
 ```
 
diff --git 
a/src/zh/UserGuide/latest/Deployment-and-Maintenance/Environment-Requirements.md
 
b/src/zh/UserGuide/latest/Deployment-and-Maintenance/Environment-Requirements.md
index 99c5b14c..75be11d6 100644
--- 
a/src/zh/UserGuide/latest/Deployment-and-Maintenance/Environment-Requirements.md
+++ 
b/src/zh/UserGuide/latest/Deployment-and-Maintenance/Environment-Requirements.md
@@ -162,7 +162,7 @@ systemctl start sshd                  #启用22号端口
 
 ### 其他配置
 
-1. 关闭系统 swap 内存
+1. 将系统 swap 优先级降至最低
 
 ```Bash
 echo "vm.swappiness = 0">> /etc/sysctl.conf
@@ -171,7 +171,7 @@ echo "vm.swappiness = 0">> /etc/sysctl.conf
 swapoff -a && swapon -a
 # 在不重启的情况下使配置生效。
 sysctl -p
-# 检查内存分配,预期 swap 为 0
+# swap的已使用内存变为0
 free -m
 ```
 

Reply via email to