发布于
最后更新于

linux设置limits

分类: linux

nofile #任何用户可以打开的最大的文件描述符数量,默认1024,这里的数值会限制tcp连接 nproc #任何用户可以打开的最大进程数

* soft nofile 655350  
* hard nofile 655350
* soft nproc  655350  
* hard nproc  650000
es soft nofile 655350
es hard nofile 655350
es soft nproc  655350
es hard nproc  650000