linux set /proc/sys/fs/file-max
#查看系统的file-max
[root@tx ~]# cat /proc/sys/fs/file-max
65535
#修改file-max
[root@tx ~]# sysctl -w fs.file-max=5000000
fs.file-max = 5000000
[root@tx ~]# echo "fs.file-max=5000000" >> /etc/sysctl.conf
[root@tx ~]# cat /proc/sys/fs/file-max
5000000