You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2018/11/29 01:19:09 UTC

[Bug 58590] org.apache.catalina.realm.MemoryRealm can use backgroundProcess() to reload tomcat-users.xml when it changes

https://bz.apache.org/bugzilla/show_bug.cgi?id=58590

recrute <re...@163.com> changed:

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

--- Comment #5 from recrute <re...@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