如何永久修改Linux的open files数量
1.使用root用户编辑/etc/security/limits.conf
vim /etc/security/limits.conf
2.添加如下内容
* soft nofile 65536
*hard nofile 65536
3.保存
4.重新登录
5.验证
ulimit -a
证明已修改成功
本文来自博客园,作者:program_keep,转载请注明原文链接:https://www.cnblogs.com/program-keep/p/18640346