Too many open files解决方法

1. 修改操作系统open files总限制:

echo "fs.file-max=6553500" >> /etc/sysctl.conf
sysctl -p

2. 修改用户open files总限制:

vi /etc/security/limits.conf

* soft    nofile          655350
* hard    nofile          655350

3. ref:

http://blog.csdn.net/tenfyguo/article/details/8159176

你可能感兴趣的:(linux,file-max,open-files)