限制分为系统层面的和用户层面的
# 系统层面 [root@localhost ~]# cat /proc/sys/fs/file-max 1602508 # 用户层面 配置在/etc/security/limits.conf 可以通过ulimit -n 131072 临时生效