在/etc/security/limits.conf最后增加如下两行记录* soft nofile 65536* hard nofile 65535
注意:这里通过ulimit -n可以直接查看open files数,这里修改完在查看可能还是默认的1024,只需要退出登录在进系统就能看到改变之后的了!
*指所有用户,也可以指定具体用户,比如dmdba
ulimit -n 102400
linux 修改open files 参数
原文:https://www.cnblogs.com/JennyYu/p/14399383.html