执行 ulimit -a 查看系统配置 需要修改max user processes 和 open files 这两个值 vim /etc/security/limits.conf #新增下面几行 * soft nofile 65535 * hard nofile 65535 * soft nproc 10000 * hard nproc 10000 #重新打开session就可以生效 修改sysctl.conf文件 vim /etc/sysctl.conf #新增下面几行…
#!/bin/sh clear if [[ $# -eq 0 ]] then #Define Variable Reset_terminal Reset_terminal=$(tput sgr0) #Check OS Type OS=$(uname -o) echo -e '\E[36m' "Operating System Type :" $Reset_terminal $OS #Check OS Realease Version And Name OS_name=$(cat /et…