Increase system limits
For very large platns, it's important to increase all the file limits
Here is a one-shot REMOTE SHELL command to raise all important limits. Simply
  1. 1.
    Use the copy icon to copy the script
  2. 2.
    Paste it into REMOTE SHELL and click RUN COMMAND
  3. 3.
    Browse to Manual Config -> General and restart the agent
1
mkdir -p /etc/systemd/system/ardexa.service.d;
2
echo "[Service]\nLimitNOFILE=infinity" > /etc/systemd/system/ardexa.service.d/override.conf;
3
systemctl daemon-reload;
4
if ! grep -q '^fs.inotify.max_user_watches' /etc/sysctl.conf; then
5
echo 'fs.inotify.max_user_watches=1048576' >> /etc/sysctl.conf;
6
fi;
7
sysctl -p;
Copied!
Last modified 1yr ago
Copy link