linux 修改句柄数 关闭缓存
更改swap echo vm.swappiness = 0 >> /etc/sysctl.conf 修改句柄数 echo “* hard nofile 65536” >> /etc/security/limits.conf ulimit -n 51200 echo “ulimit -SHn 100000” >> /etc/profile echo “* soft nofile 100000” >> /etc/security/limits.conf echo “* hard nofile 100000” >> /etc/security/limits.conf echo “* soft nproc 65535” >> /etc/security/limits.conf echo “* hard nproc 65535” >> /etc/security/limits.conf