Jalaj,
On 1/18/21 11:13, Jalaj Asher wrote:
We have a situation where in we are seeing with tomcat 8.5 and higher that even
when the application is not in use , tomcat is accessing different jars in that
web-inf/ lib folder every few seconds or few minutes.
These jars are not getting loaded in memory , we profiled it to check if they
were getting loaded in the heap or the metaspace area but that was not the case.
When I ran the lsof command though I could see that multiple jars were being
accessed (read) from that folder very frequently, with no application usage.
Any reason or any setting that you are aware off that could be causing this. I
did enable the all setting for localhost under logging properties as well as
the below option
org.apache.tomcat.util.http = ALL
but none shows the files being accessed unless I run the LSOF command on linux.
I am not sure why is tomcat reading those files multiple times in a minute.
Also wanted to see if there is a setting to switch off this behavior.
Is your application reloadable? Does the file-access timing you are
observing line-up with the background processor's interval?
-chris
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org