You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Chen Levy <ch...@hotmail.com> on 2018/11/27 19:13:26 UTC

Excessive number of tomcat-users.xml open files

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


Re: Excessive number of tomcat-users.xml open files

Posted by Mark Thomas <ma...@apache.org>.
On 27/11/2018 19:13, Chen Levy wrote:
> 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?

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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org