I was trying to fix the following error being logged by haproxy
...
Proxy https-in reached process FD limit at 544. Please check 'ulimit-n' and restart
...and added LimitNOFILE=1024
in haproxy's systemd unit file.
However, what I"m observing is that haproxy
starts-up with 1024
"max open files" (confirmed via /proc/<pid>/limit
), which drops back down to 544
after a few seconds.
Two related questions:
- where is the strange
544
limit coming from? - apart from
LimitNOFILE
in systemd's unit file, is there any other file/configuration that controls this parameter?