tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier (tomcat) ...@ice-sa.com>
Subject Re: soap web service (axis based) on tomcat 8
Date Sat, 19 Sep 2015 14:00:16 GMT
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_Implementation
See "autoDeploy" (default is true)

If you set this to "false", does the same still happen ?

>
> The detailed information is shown as below for your references.
>
> 7196  lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
> 7196  lstat("/home/jgu-admin", {st_mode=S_IFDIR|0700, st_size=4096, ...}) =
> 0
> 7196  lstat("/home/jgu-admin/apache-tomcat-8.0.24", {st_mode=S_IFDIR|0700,
> st_size=4096, ...}) = 0
> 7196  lstat("/home/jgu-admin/apache-tomcat-8.0.24/webapps",
> {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
> 7196  lstat("/home/jgu-admin/apache-tomcat-8.0.24/webapps/IDManager",
> {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
> 7196
> lstat("/home/jgu-admin/apache-tomcat-8.0.24/webapps/IDManager/WEB-INF",
> {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
> 7196
> lstat("/home/jgu-admin/apache-tomcat-8.0.24/webapps/IDManager/WEB-INF/classes",
> {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
> 7196
> lstat("/home/jgu-admin/apache-tomcat-8.0.24/webapps/IDManager/WEB-INF/classes/org",
> 0x2b9a564eb2b0) = -1 ENOENT (No such file or directory)
> 7196  lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
> 7196  lstat("/home/jgu-admin", {st_mode=S_IFDIR|0700, st_size=4096, ...}) =
> 0
> 7196  lstat("/home/jgu-admin/apache-tomcat-8.0.24", {st_mode=S_IFDIR|0700,
> st_size=4096, ...}) = 0
> 7196  lstat("/home/jgu-admin/apache-tomcat-8.0.24/webapps",
> {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
> 7196  lstat("/home/jgu-admin/apache-tomcat-8.0.24/webapps/IDManager",
> {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
> 7196
> lstat("/home/jgu-admin/apache-tomcat-8.0.24/webapps/IDManager/WEB-INF",
> {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
> 7196
> lstat("/home/jgu-admin/apache-tomcat-8.0.24/webapps/IDManager/WEB-INF/classes",
> {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
> 7196
> lstat("/home/jgu-admin/apache-tomcat-8.0.24/webapps/IDManager/WEB-INF/classes/org",
> 0x2b9a564eb2b0) = -1 ENOENT (No such file or directory)
> 7196  lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
> 7196  lstat("/home/jgu-admin", {st_mode=S_IFDIR|0700, st_size=4096, ...}) =
> 0
> 7196  lstat("/home/jgu-admin/apache-tomcat-8.0.24", {st_mode=S_IFDIR|0700,
> st_size=4096, ...}) = 0
> 7196  lstat("/home/jgu-admin/apache-tomcat-8.0.24/webapps",
> {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
> 7196  lstat("/home/jgu-admin/apache-tomcat-8.0.24/webapps/IDManager",
> {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
> 7196
> lstat("/home/jgu-admin/apache-tomcat-8.0.24/webapps/IDManager/WEB-INF",
> {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
> 7196
> lstat("/home/jgu-admin/apache-tomcat-8.0.24/webapps/IDManager/WEB-INF/classes",
> {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
> 7196
> lstat("/home/jgu-admin/apache-tomcat-8.0.24/webapps/IDManager/WEB-INF/classes/org",
> 0x2b9a564eb2b0) = -1 ENOENT (No such file or directory)
> 7196  lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
> 7196  lstat("/home/jgu-admin", {st_mode=S_IFDIR|0700, st_size=4096, ...}) =
> 0
> 7196  lstat("/home/jgu-admin/apache-tomcat-8.0.24", {st_mode=S_IFDIR|0700,
> st_size=4096, ...}) = 0
> 7196  lstat("/home/jgu-admin/apache-tomcat-8.0.24/webapps",
> {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
> 7196  lstat("/home/jgu-admin/apache-tomcat-8.0.24/webapps/IDManager",
> {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
> 7196
> lstat("/home/jgu-admin/apache-tomcat-8.0.24/webapps/IDManager/WEB-INF",
> {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
> 7196
> lstat("/home/jgu-admin/apache-tomcat-8.0.24/webapps/IDManager/WEB-INF/classes",
> {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
> 7196
> lstat("/home/jgu-admin/apache-tomcat-8.0.24/webapps/IDManager/WEB-INF/classes/org",
> 0x2b9a564eb2b0) = -1 ENOENT (No such file or directory)
> 7196  lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
> 7196  lstat("/home/jgu-admin", {st_mode=S_IFDIR|0700, st_size=4096, ...}) =
> 0
> 7196  lstat("/home/jgu-admin/apache-tomcat-8.0.24", {st_mode=S_IFDIR|0700,
> st_size=4096, ...}) = 0
> 7196  lstat("/home/jgu-admin/apache-tomcat-8.0.24/webapps",
> {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
> 7196  lstat("/home/jgu-admin/apache-tomcat-8.0.24/webapps/IDManager",
> {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
> 7196
> lstat("/home/jgu-admin/apache-tomcat-8.0.24/webapps/IDManager/WEB-INF",
> {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
> 7196
> lstat("/home/jgu-admin/apache-tomcat-8.0.24/webapps/IDManager/WEB-INF/classes",
> {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
> 7196  lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
> 7196  lstat("/home/jgu-admin", {st_mode=S_IFDIR|0700, st_size=4096, ...}) =
> 0
> 7196  lstat("/home/jgu-admin/apache-tomcat-8.0.24", {st_mode=S_IFDIR|0700,
> st_size=4096, ...}) = 0
> 7196  lstat("/home/jgu-admin/apache-tomcat-8.0.24/webapps",
> {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
> 7196  lstat("/home/jgu-admin/apache-tomcat-8.0.24/webapps/IDManager",
> {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
> 7196
> lstat("/home/jgu-admin/apache-tomcat-8.0.24/webapps/IDManager/WEB-INF",
> {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
> 7196
> lstat("/home/jgu-admin/apache-tomcat-8.0.24/webapps/IDManager/WEB-INF/classes",
> {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
> 7196
> lstat("/home/jgu-admin/apache-tomcat-8.0.24/webapps/IDManager/WEB-INF/classes/com",
> 0x2b9a564eb2b0) = -1 ENOENT (No such file or directory)
> 7196  lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
> 7196  lstat("/home/jgu-admin", {st_mode=S_IFDIR|0700, st_size=4096, ...}) =
> 0
> 7196  lstat("/home/jgu-admin/apache-tomcat-8.0.24", {st_mode=S_IFDIR|0700,
> st_size=4096, ...}) = 0
> 7196  lstat("/home/jgu-admin/apache-tomcat-8.0.24/webapps",
> {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
> 7196  lstat("/home/jgu-admin/apache-tomcat-8.0.24/webapps/IDManager",
> {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
> 7196
> lstat("/home/jgu-admin/apache-tomcat-8.0.24/webapps/IDManager/WEB-INF",
> {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
> 7196
> lstat("/home/jgu-admin/apache-tomcat-8.0.24/webapps/IDManager/WEB-INF/classes",
> {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
> 7196
> lstat("/home/jgu-admin/apache-tomcat-8.0.24/webapps/IDManager/WEB-INF/classes/com",
> 0x2b9a564eb2b0) = -1 ENOENT (No such file or directory)
> 7196  lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
>
> Thanks,
> Jennifer
>


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


Mime
View raw message