修改 Linux 系统的最大打开文件数量

修改 Linux 系统的最大打开文件数量

#!/bin/bash
#往/etc/security/limits.conf 文件的末尾追加两行配置参数,修改最大打开文件数量为 65536
cat >> /etc/security/limits.conf <<EOF
* soft nofile 65536
* hard nofile 65536
EOF
发布了190 篇原创文章 · 获赞 169 · 访问量 1万+

猜你喜欢

转载自blog.csdn.net/weixin_44799645/article/details/105402368