centos7,openfile修改

62 阅读1分钟

1.查看命令

ulimit -a

image.png

2.修改命令

修改:vi /etc/profile

加入一行:ulimit -n 65535

执行:source /etc/profile

再次查看:ulimit -a