Fórum

Too Long startup times

João Santos, modificado 8 Anos atrás.

Too Long startup times

New Member Postagens: 3 Data de Entrada: 05/09/13 Postagens Recentes
Hi guys,

I have a Liferay Portal on a Tomcat server that now is taking about 45(!) minutes to startup.

It seems to take to long on multiple times, for example right after saying "Found dialect org.hibernate.dialect.MySQLDialect" it takes about 4 minutes to do anything else.

This can't be normal right? What can I do?


2016-03-04 06:02:37 Commons Daemon procrun stdout initialized
Loading jar:file:/C:/Servers/mmmprd/tomcat-7.0.27/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/system.properties
Loading jar:file:/C:/Servers/mmmprd/tomcat-7.0.27/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/portal.properties
Loading file:/C:/Servers/mmmprd/portal-setup-wizard.properties
Loading file:/C:/Servers/mmmprd/portal-ext.properties
Loading file:/C:/Servers/mmmprd/tomcat-7.0.27/webapps/ROOT/WEB-INF/classes/portal-ext.properties
06:08:42,777 INFO  [pool-2-thread-1][DialectDetector:71] Determine dialect for MySQL 5
06:08:44,820 INFO  [pool-2-thread-1][DialectDetector:136] Found dialect org.hibernate.dialect.MySQLDialect
Starting Liferay Portal Community Edition 6.1.1 CE GA2 (Paton / Build 6101 / July 31, 2012)
06:12:09,163 INFO  [pool-2-thread-1][BaseDB:455] Database does not support case sensitive queries
06:22:14,454 INFO  [pool-2-thread-1][ServerDetector:154] Server supports hot deploy
06:22:15,015 INFO  [pool-2-thread-1][PluginPackageUtil:1030] Reading plugin package for the root context
06:24:55,148 INFO  [pool-2-thread-1][AutoDeployDir:106] Auto deploy scanner started for C:\Servers\mmmprd\deploy
06:27:31,054 INFO  [pool-2-thread-1][HotDeployImpl:178] Deploying chimera-portlet from queue
thumbnail
Anuvab Ghosh, modificado 8 Anos atrás.

RE: Too Long startup times

Regular Member Postagens: 130 Data de Entrada: 18/04/15 Postagens Recentes
Can you share the server or system configuration with us?
João Santos, modificado 8 Anos atrás.

RE: Too Long startup times

New Member Postagens: 3 Data de Entrada: 05/09/13 Postagens Recentes
Sure.

It's a Liferay 6.1 CE on a Windows Server 2008 R2, 8GB Ram, Intel Xeon X7550 (4 vCPU).
Connected to a MySQL 5.6.

Feel free to ask for any additional data.
João Santos, modificado 8 Anos atrás.

RE: Too Long startup times

New Member Postagens: 3 Data de Entrada: 05/09/13 Postagens Recentes
Any help?
thumbnail
Manish Yadav, modificado 8 Anos atrás.

RE: Too Long startup times

Expert Postagens: 493 Data de Entrada: 26/05/12 Postagens Recentes
Try to increase values of
CATALINA_OPTS variables located into setenv.bat or *.sh
-Xmx2048m -XX:MaxPermSize=512m

HTH
thumbnail
Olaf Kock, modificado 8 Anos atrás.

RE: Too Long startup times

Liferay Legend Postagens: 6403 Data de Entrada: 23/09/08 Postagens Recentes
What's the server doing during this time? CPU maxed out? Using virtual memory and heavily moving memory between disk and RAM? Network stable? If it's a virtual machine, make sure that neither the VM nor the host are under any of these conditions. Also it might be worth to check the disk: A spinning disk that has problems reading some of its sectors (or is about to give up and lose all its data) might take a long time to reveal its data without the system appearing to do anything.