错误处理一su: /bin/bash: Too many open files in system
[root@test ~]# cat /proc/sys/fs/file-max512
发现文件限制数太少
查看/etc/sysctl.conf发现:
fs.file-max = 512 * PROCESSES
修改成为:fs.file-max = 6553600
运行:[root@test ~]# sysctl -p