Hi,
-Original Message-
From: Mark Thomas
Sent: Thursday, October 10, 2019 3:54 AM
To: users@tomcat.apache.org
Subject: Re: Performance test with Tomcat 9 shows increased cpu/disk usage
because of repeated opening/closing of jars in WEB-INF/lib
On 09/10/2019 22:58, Rhuberg,Anthony wrote
of repeated opening/closing of jars in WEB-INF/lib
Hi Anthony
Have you turned debug logging on to see what it is picking up as modified?
On Wed, 09 Oct 2019, 22:24 Rhuberg,Anthony,
wrote:
> Thanks for your responses.
>
> I understand that re-reading the static files is not optimal, but h
: Performance test with Tomcat 9 shows increased cpu/disk usage
because of repeated opening/closing of jars in WEB-INF/lib
On 09/10/2019 21:03, Rhuberg,Anthony wrote:
> This seems to alleviate the issue... in context.xml (sc-test#sc.xml)
> swallowOutput="true" backgroundProcessorDelay=&q
9 shows increased cpu/disk usage
because of repeated opening/closing of jars in WEB-INF/lib
On 09/10/2019 22:58, Rhuberg,Anthony wrote:
> StandardRoot.gc() unconditionally closes the web application jars in Tomcat
> 9... every 10s by default or configurable by ch
Loader.jarsRemoved",
resources.getContext().getName()));
return true;
}
// No classes have been modified
return false;
}
-Original Message-
From: Rhuberg,Anthony
Sent: Wednesday, October 09, 2019 3:08 PM
To: Tomcat Users List
, 2019 3:56 PM
To: users@tomcat.apache.org
Subject: Re: Performance test with Tomcat 9 shows increased cpu/disk usage
because of repeated opening/closing of jars in WEB-INF/lib
On 09/10/2019 20:08, Rhuberg,Anthony wrote:
> On the other thread: Is this genuine class loading (in which c
Background:
In the last few months we migrated our web application from Tomcat 7.0.55 to
Tomcat 9.0.19 (26). That transition was relatively straightforward until we
reviewed the results of our performance tests. Those tests showed an increase
in CPU usage and disk I/O on our Windows 2012
the jars open
longer by default. This could be helpful - not sure we need to close them at
all.
Alternatively, would there be any gain to 'explode' the jars into class files
on the filesystem?
-Original Message-
From: Rhuberg,Anthony
Sent: Wednesday, October 09, 2019 2:17 PM
To: users
does read resources from the jar files - mostly static files that are stored
within the package structure are read (for example: log4j, property files,
other static content). Would this affect the reload of the jar files?
-Original Message-
From: Rhuberg,Anthony
Sent: Wednesday, October 09
,
> -Original Message-
> From: Rhuberg,Anthony
> Sent: Thursday, October 10, 2019 5:22 PM
> To: Tomcat Users List
> Subject: RE: Performance test with Tomcat 9 shows increased cpu/disk
> usage because of repeated opening/closing of jars in WEB-INF/lib
>
> We are still inv
Hi,
We have experienced similar behavior. I have posted previously about this issue
so forgive me if I repeat myself here.
Some background first based on our recent experiences. We noticed an increase
in CPU usage and disk I/O after we migrated from Tomcat 7.0.55 to Tomcat
9.0.19. What
If it helps for reference Here is our singleton...
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.transform.TransformerFactory;
import javax.xml.xpath.XPathFactory;
import javax.xml.xpath.XPathFactoryConfigurationException;
/**
* This class provides a set of methods to
12 matches
Mail list logo