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

            Bug ID: 62924
           Summary: tomcat-users.xml has open file descriptors and opens
                    tomcat-users.xml all the time
           Product: Tomcat 9
           Version: 9.0.13
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Manager
          Assignee: dev@tomcat.apache.org
          Reporter: si...@yahoo.com
  Target Milestone: -----

Hi everybody
Since tomcat 9.0.13 and the ability to monitor "tomcat-users.xml" was
introduced we encounter quite strange behaviour:
we run into "too many files open" exception after a certain time when tomcat is
running.
nothing changed on the apps which run on this instance, except the version of
tomcat (from 9.0.12 to 9.0.13)

I found now the following strange thing:
when doing "lsof" on the PID runnning tomcat, I see:

[gtt@tgttcn0:~/tomcat/logs:1061> lsof  -p 16829 | grep tomcat-users | wc -l
260

a couple of seconds later:

[gtt@tgttcn0:~/tomcat/logs:1062> lsof  -p 16829 | grep tomcat-users | wc -l
262

and about 20 seconds later:

[gtt@tgttcn0:~/tomcat/logs:1062> lsof  -p 16829 | grep tomcat-users | wc -l
264

and nothing is really going on on the tomcat at the moment.


It looks like something is opening tomcat-users.xml all the time and does not
close it anymore....


Here the same "lsof" command on one of our servers running tomcat 9.0.12:

[gtt@pgttcn1:~:1008> lsof -p 26572 | grep tomcat-users | wc -l
0


thanks for having a look into this
Erich

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

Reply via email to