-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

André,

On 9/19/15 10:00 AM, André Warnier (tomcat) wrote:
> On 19.09.2015 02:20, jennifer zhou wrote:
>> Hi,
>> 
>> Our app was running well on Tomcat 7 on linux. Recently we
>> migrated to Tomcat 8 on linux. However we found the system CPU
>> usage is higher than normal. When there is no any user
>> interaction, we still see about 25% of the system CPU usage.
>> After deep dive, we found the tomcat keeps scanning our app's
>> class path under WEB-INF folder. Actually all our artifacts are 
>> packed within WEB-INF/lib folder, there is nothing within
>> WEB-INF/classes folder. Is there any way to look for WEB-INF/lib
>> folder first before looking for artifacts within WEB-INF/classes
>> folder?
>> 
>> Also why does Tomcat keeps scanning our app classpath during app
>> idle time? Is there anyway to turn this off?
> 
> Quick pointer : 
> http://tomcat.apache.org/tomcat-8.0-doc/config/host.html#Standard_Impl
ementation
>
>  See "autoDeploy" (default is true)
> 
> If you set this to "false", does the same still happen ?

A good guess, but scanning for updated files doesn't usually take much
in the way of CPU.

It also might be Axis scanning for something. I find it odd that
Tomcat would look for WEB-INF/classes/org specifically and not
anything else.

Best thing to do is get a thread dump while the CPU is being used to
find out what exactly is doing that.

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJV/XTwAAoJEBzwKT+lPKRYcjMP/11HfY7n6DWHDl7hO9Sd0DXQ
UmzuRSG2X7iD+OKx1M98sYiUcaBpCyfjemgFXFCYPFIkC6eFbFQ+ZlB5CPWv8v2M
VYJxx6llIzmDO4j2r9Ik6G8XjWNckX0eedCQHFqitMfAW/JxpVxdgaJikyxO2+8D
2BAKQOELkQAgwkXRrncqk3S/UfSXoxPM+Fm4oOjwDFy60ydwSJlch7QmAKxRU93l
hDmlsk4fMeep9hCAE/uE2hTLajnhGUj0GhhuTcpTAObp5c/BinwyIbpt2RwAQQVg
ZE5MVvKgJFcPdXavU0wGVdfZod7XWetsCz80plcchdhq3uICKix4KLDAjPDiEQgm
+hTGjC1AOGb2DSf8im3R6qf8Lfb4uYUURjbJKwPDBS65hF+ZwxX7QFcTKDaoPlfn
OpvkXzds4VRjdOlavwrbs8T2BgsafFT/POhm/+0XZh54p1EpTJxq5p5NGpxvCizu
G7+GnNpdzhXHLcK8IZg3DOfO7xtIKFkN3cwjCti5W7KMVdGvxk3eRE+yVBmWpkQS
8hidcLUzcz0k2N7ZG4d6KYFu5eQBKgspQP2yX8zhihwMDsrb5JD1kPxD6yMMzppp
k8N1X1k95UoOLV/1NDTCPQ1DHG9MIgS6OHEHcVZSBhSz2DPMaxS6GkxzfXQFxSVp
CFCiR4UOFFH87tM6ojL9
=CXsu
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to