Increase system limits

For very large plants (greater than about 300 variables) , it's important to increase all the file limits

Here is a one-shot REMOTE SHELL command to raise all important limits. Simply

  1. Use the copy icon to copy the script

  2. Paste it into REMOTE SHELL and click RUN COMMAND

  3. Browse to Manual Config -> General and restart the agent

mkdir -p /etc/systemd/system/ardexa.service.d;
echo "[Service]\nLimitNOFILE=infinity" > /etc/systemd/system/ardexa.service.d/override.conf;
systemctl daemon-reload;
if ! grep -q '^fs.inotify.max_user_watches' /etc/sysctl.conf; then
  echo 'fs.inotify.max_user_watches=1048576' >> /etc/sysctl.conf;
fi;
sysctl -p;

Last updated