Skip to main content

Increasing open files limit


Increasing xroad-proxy open file limits w/o host restart (temporary solution)
prlimit --pid <xroad-proxy-PID> --nofile=10000:30000

Increasing xroad-proxy open file limits
su - xroad
prlimit --pid <xroad-proxy-PID>

/etc/security/limits.conf
xroad soft nofile 10000
xroad hard nofile 30000

/lib/systemd/system/xroad-proxy.service
LimitNOFILE=10000

systemctl daemon-reload
service xroad-proxy restart