linux 文件打开数设置, too ma

1. 临时解决

ulimit -HSn 65536

 

2. 永久解决

编辑文件,添加以下两行: /etc/security/limits.conf

 

*               soft    nofile          65536
*               hard    nofile          65536

你可能感兴趣的:(linux 文件打开数设置, too ma)