Pular para o conteúdo

CentOS lento ao iniciar tomcat

Responder tópico
  • Denunciar
  • Indicar

1. CentOS lento ao iniciar tomcat

Enviado em 30/11/2016 - 16:29h

Olá amigos do VOL!

O Google não me ajudou, por isso recorro a ajuda de vocês.

Instalei CentOS 6.7 e quando eu inicio o Tomcat 9 (instalado em /opt/apacahe-tomcat), o sistema todo fica lento, travando. Fica imposível navegar ou abrir pastas.

É normal? Há alguma coisa que se possa fazer? Alguém já passou por isso?

Infelizmente no momento não tenho as informações da máquina... mas assim que puder eu postarei aqui.

Obrigado.

Responder tópico

2. Re: CentOS lento ao iniciar tomcat

Enviado em 30/11/2016 - 16:52h

Segue informações da máquina:

[root@localhost ~]# cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 107
model name : AMD Athlon(tm) 64 X2 Dual Core Processor 5200+
stepping : 2
cpu MHz : 1000.000
cache size : 512 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow rep_good extd_apicid pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 3dnowprefetch lbrv
bogomips : 1999.90
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc 100mhzsteps

processor : 1
vendor_id : AuthenticAMD
cpu family : 15
model : 107
model name : AMD Athlon(tm) 64 X2 Dual Core Processor 5200+
stepping : 2
cpu MHz : 1000.000
cache size : 512 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
apicid : 1
initial apicid : 1
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow rep_good extd_apicid pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 3dnowprefetch lbrv
bogomips : 1999.90
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc 100mhzsteps
[root@localhost ~]# cat /proc/meminfo
MemTotal: 1019224 kB
MemFree: 66308 kB
Buffers: 1340 kB
Cached: 23464 kB
SwapCached: 102376 kB
Active: 396232 kB
Inactive: 397564 kB
Active(anon): 383696 kB
Inactive(anon): 389592 kB
Active(file): 12536 kB
Inactive(file): 7972 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 4194300 kB
SwapFree: 3603316 kB
Dirty: 96 kB
Writeback: 0 kB
AnonPages: 730652 kB
Mapped: 17512 kB
Shmem: 4308 kB
Slab: 89588 kB
SReclaimable: 15652 kB
SUnreclaim: 73936 kB
KernelStack: 6032 kB
PageTables: 33244 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 4703912 kB
Committed_AS: 2969660 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 298932 kB
VmallocChunk: 34359409080 kB
HardwareCorrupted: 0 kB
AnonHugePages: 32768 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
DirectMap4k: 7744 kB
DirectMap2M: 1040384 kB
[root@localhost ~]# cat /etc/*-release
CentOS release 6.8 (Final)
LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
CentOS release 6.8 (Final)
CentOS release 6.8 (Final)
[root@localhost ~]# java -version
java version "1.8.0_111"
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)
[root@localhost ~]# sh /opt/apache-tomcat-9.0.0.M11/bin/version.sh
Using CATALINA_BASE: /opt/apache-tomcat-9.0.0.M11
Using CATALINA_HOME: /opt/apache-tomcat-9.0.0.M11
Using CATALINA_TMPDIR: /opt/apache-tomcat-9.0.0.M11/temp
Using JRE_HOME: /usr/java/jdk1.8.0_111/
Using CLASSPATH: /opt/apache-tomcat-9.0.0.M11/bin/bootstrap.jar:/opt/apache-tomcat-9.0.0.M11/bin/tomcat-juli.jar
Server version: Apache Tomcat/9.0.0.M11
Server built: Oct 6 2016 18:54:10 UTC
Server number: 9.0.0.0
OS Name: Linux
OS Version: 2.6.32-642.6.2.el6.x86_64
Architecture: amd64
JVM Version: 1.8.0_111-b14
JVM Vendor: Oracle Corporation

3. Re: CentOS lento ao iniciar tomcat

Enviado em 30/11/2016 - 16:57h

Um pedaço do log:

30-Nov-2016 15:57:47.182 INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.webresources.Cache.backgroundProcess The background cache eviction process was unable to free [10] percent of the cache for Context [/jspui] - consider increasing the maximum size of the cache. After eviction approximately [10,230] KB of data remained in the cache.
30-Nov-2016 15:57:48.450 WARNING [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/lib/lucene-suggest-4.10.2.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
30-Nov-2016 15:57:48.451 WARNING [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/lib/solr-solrj-4.10.2.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
30-Nov-2016 15:57:48.451 WARNING [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/lib/log4j-1.2.17.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
30-Nov-2016 15:57:48.451 WARNING [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/lib/antlr-runtime-3.5.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
30-Nov-2016 15:57:48.452 INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.webresources.Cache.backgroundProcess The background cache eviction process was unable to free [10] percent of the cache for Context [/solr] - consider increasing the maximum size of the cache. After eviction approximately [10,208] KB of data remained in the cache.
--
# epro mix-in +no-systemd
Linux user #455427
https://goo.gl/uu8OUX

Responder tópico

Responder tópico

Entre na sua conta para responder.

Fazer login para responder