linux內核優化

1.      最大打開文件數 ulimit –a(查看)。ulimit –n number (設置)。Profile中一直生效 1、/etc/sysctl.conf,增加:fs.file-max=100000 2、修改配置文件:/etc/security/limits.conf.在這個文件最後加上: * soft nofile 100000 * hard nofile 100000 下面圖片內容
相關文章
相關標籤/搜索