tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 58590] org.apache.catalina.realm.MemoryRealm can use backgroundProcess() to reload tomcat-users.xml when it changes
Date Thu, 29 Nov 2018 01:19:09 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=58590

recrute <recrute@163.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #5 from recrute <recrute@163.com> ---
I just switch tomcat version from apache-tomcat-9.0.11 to apache-tomcat-9.0.13,
and then I found the tomcat instance could not work well again.

The error log shown:
org.apache.tomcat.jni.Error: 24: Too many open files

And here is the data from lsof:

[root@localhost versions]# lsof|grep "java"|wc -l
194186
[root@localhost versions]# lsof|grep "java"|grep "conf/tomcat-users.xml"|wc -l
152991

We can see there are too many handles from tomcat about "tomcat-users.xml",
so is there any wrong about apache-tomcat-9.0.13 on this case?

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message