Increase Open File Limit Tomcat CentOS 7
- check PID
systemctl status tomcat
- Check max open file
cat /proc/<PID>/limits
- create config file
mkdir -p /etc/systemd/system/tomcat.service.d/
vim /etc/systemd/system/tomcat.service.d/limits.conf
[Service]
LimitNOFILE=8192
- reload and restart service
systemctl daemon-reload
systemctl restart tomcat