[yyq@localhost caddy]$ ./caddy
Activating privacy features... done.
Serving HTTP on port 2015
http://:2015
WARNING: File descriptor limit 1024 is too low for production servers. At least 8192 is recommended. Fix with `ulimit -n 8192`.
编辑 /etc/security/limits.conf 文件
在 # End of file 一行上面加入
* soft nofile 16384
* hard nofile 16384
保存即可。