From d3da9a02ebe973b6918de13b2e49f3a37d279f59 Mon Sep 17 00:00:00 2001 From: zhang_xubo <2578876417@qq.com> Date: Mon, 19 Jul 2021 19:08:29 +0800 Subject: [PATCH] Add Check SEMMNI detail info in simple install. --- simpleInstall/install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/simpleInstall/install.sh b/simpleInstall/install.sh index 05feb4ffc..2b50685b5 100644 --- a/simpleInstall/install.sh +++ b/simpleInstall/install.sh @@ -138,12 +138,14 @@ function check_os() { if [ ${sem[0]} -lt 17 ] then info "On systemwide basis, the maximum number of SEMMSL is not correct. the current SEMMSL value is: ${sem[0]}. Please check it." + info "The required value should be greater than 17. You can modify it in file '/etc/sysctl.conf'." exit 1 fi let conn_floor=($max_connection+150)/16 if [ ${sem[3]} -lt $conn_floor ] then info "On systemwide basis, the maximum number of SEMMNI is not correct. the current SEMMNI value is: ${sem[3]}. Please check it." + info "The required value should be greater than ${conn_floor}. You can modify it in file '/etc/sysctl.conf'." exit 1 fi @@ -151,6 +153,7 @@ function check_os() { if [ ${sem[1]} -lt $conn_floor ] then info "On systemwide basis, the maximum number of SEMMNS is not correct. the current SEMMNS value is: ${sem[1]}. Please check it." + info "The required value should be greater than ${conn_floor}. You can modify it in file '/etc/sysctl.conf'." exit 1 fi }