cat >>/etc/security/limits.conf<<eof * soft nproc 65535 * hard nproc 65535 * soft nofile 65535 * hard nofile 65535 eof soft nproc: 可打开的文件描述符的最大数(软限制) hard nproc: 可打开的文件描述符的最大数(硬限制) soft nofile:单个用户可用的最大进程数量(软限制) hard nofile:单个用户可用的最大进程数量(硬限制)