修改linux 连接数限制
echo "* soft nofile 51200">> /etc/security/limits.conf
echo "* hard nofile 51200">> /etc/security/limits.conf
然后重启机器
本文介绍了一种修改Linux系统中最大文件描述符数量的方法,通过编辑limits.conf文件来提升软硬限制,从而增加系统能够同时打开的最大文件数,这对于提高服务器并发能力至关重要。
修改linux 连接数限制
echo "* soft nofile 51200">> /etc/security/limits.conf
echo "* hard nofile 51200">> /etc/security/limits.conf
然后重启机器

被折叠的 条评论
为什么被折叠?
