Discussion:
Excessive number of tomcat-users.xml open files
Chen Levy
2018-11-27 19:13:26 UTC
Permalink
Hello everyone

I have two Tomcat servers running under load, on two EC2 instances with amazon-linux-2 and JRE 10.0.2, one server is 9.0.12 and the other 9.0.13
The servers share the exact same application, configuration and load; however, the 9.0.13 server keeps hundreds of open files of the following form (obtained using 'lsof'):
https-jss 30403 30515 ec2-user 1874r REG 259,1 2164 92934 /opt/apache-tomcat-9.0.13/conf/tomcat-users.xml
http-nio- 30403 30485 ec2-user 1751r REG 259,1 2164 92934 /opt/apache-tomcat-9.0.13/conf/tomcat-users.xml

These open files do not exist on the 9.0.12 server
These servers deploy a single application with the default content of the webapps folder removed

It might be related to the following recent bug fix: https://bz.apache.org/bugzilla/show_bug.cgi?id=58590

Has anyone else seen a similar behavior?

Thanks
Chen
Mark Thomas
2018-11-27 20:12:11 UTC
Permalink
Post by Chen Levy
Hello everyone
I have two Tomcat servers running under load, on two EC2 instances with amazon-linux-2 and JRE 10.0.2, one server is 9.0.12 and the other 9.0.13
https-jss 30403 30515 ec2-user 1874r REG 259,1 2164 92934 /opt/apache-tomcat-9.0.13/conf/tomcat-users.xml
http-nio- 30403 30485 ec2-user 1751r REG 259,1 2164 92934 /opt/apache-tomcat-9.0.13/conf/tomcat-users.xml
These open files do not exist on the 9.0.12 server
These servers deploy a single application with the default content of the webapps folder removed
It might be related to the following recent bug fix: https://bz.apache.org/bugzilla/show_bug.cgi?id=58590
Has anyone else seen a similar behavior?
http://tomcat.apache.org/bugreport.html#Known_issues
http://svn.apache.org/repos/asf/tomcat/trunk/webapps/docs/changelog.xml
https://bz.apache.org/bugzilla/show_bug.cgi?id=62958

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-***@tomcat.apache.org
For additional commands, e-mail: users-***@tomcat.apache.org

Loading...