caddy启动时提示:File descriptor limit 1024 is too low for production servers
提示:caddy: WARNING: File descriptor limit 1024 is too low for production servers. At least 8192 is recommended. Fix with "ulimit -n 8192". 解决方法:vi /etc/security/limits.conf 加入: * soft nofile 65535 * hard nofile 65535 * soft nproc 65535 * hard nproc 65535 root soft nofile 65535 root hard nofile 65535 root soft nproc 65535 root hard nproc 65535 然后按Esc键,输入:wq保存退出,输入命令exit注销当前帐户再登录进即生效。
Last updated