Running caddy
on a linux machine, and I receive the following error:
WARNING: File descriptor limit 1024 is too low for production servers.
At least 8192 is recommended.
Fix with "ulimit -n 8192"
Ok, great. But where do I fix it?
For a temporary fix, you can simply issue the command ulimit -n 8192
.
For permanent you need to modify /etc/security/limits.conf
.
For more details please refer below:
From article:
vi /etc/security/limits.conf
Add two lines for each limit:
* soft nofile 16384
* hard nofile 16384