其他分享
首页 > 其他分享> > radhat7.9 文件打开限制设定

radhat7.9 文件打开限制设定

作者:互联网

打开文件限制设定

echo "* soft nofile 65535" >> /etc/security/limits.conf

echo "* hard nofile 65535" >> /etc/security/limits.conf

echo '* soft nproc 65535' >> /etc/security/limits.conf

echo '* hard nproc 65535' >> /etc/security/limits.conf

echo "ulimit -n 65535"  >> /etc/profile

重起服务器之后检查结果

ulimit -Sn

ulimit -Hn

标签:文件,设定,limits,echo,etc,conf,65535,security,radhat7.9
来源: https://www.cnblogs.com/lightsoft2021/p/16608933.html