We are using DXA 2.0 Java inside RedHat Linux server. The DXA Application is deployed using Tomcat 8.5.

While accessing website after some time we are getting 500 error too many open files although we have increase open file limit in Tomcat service file. We know this not related to DXA but any advice will be helpful. Below is Tomcat service file

# Systemd unit file for tomcat
Description=Apache Tomcat Web Application Container LB1 
After=syslog.target network.target 


Environment='CATALINA_OPTS=-Xms512M -Xmx1024M -server -XX:+UseParallelGC' 
Environment='JAVA_OPTS=-Djava.awt.headless=true -Djava.security.egd=file:/dev/./urandom -Dconnector.ip= -Dconnector.port=901' 

ExecStop=/bin/kill -15 $MAINPID


  • 1
    Can you edit your question and provide some more details on it, like what setting exactly did you increase etc. I see for instance the info here serverfault.com/questions/729996/… that might be relevant. – Bart Koopman Jun 6 '18 at 7:19
  • 1
    Again I suggest you edit your question once more and provide more details, you mention the "Tomcat service file", but I suggest you specify which file that is exactly? In the question I found on StackExchange, it mentions a /etc/security/limits.conf file, it doesn't look like you edited that. You can check limits of a running process with cat /proc/xxxx/limits where xxxx is the pid of the Tomcat process, maybe you can specify what that limit currently is, hopefully then you can get some more relevant answers, or post this question on serverfault.com where it is more relevant. – Bart Koopman Jun 6 '18 at 11:56
  • @BartKoopman thanks for your valuable suggestion i have posted this issue on serverfault.com "serverfault.com/questions/915619/…" hope will get a reply soon. – Abdul Qadir Jun 7 '18 at 12:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.