ubuntu系统开机优化参数

date : 2019-06-20   14:34:48

author: headsen chen

临时设置:
ulimit -n 1000000


永久设置:
vim  /etc/security/limits.conf

末行添加

* hard nofile 1000000
* soft nofile 1000000
root hard nofile 1000000
root soft nofile 1000000

 

posted @ 2019-06-20 14:38  开始认识  阅读(571)  评论(0编辑  收藏  举报