掲示板

Too Long startup times

8年前 に João Santos によって更新されました。

Too Long startup times

New Member 投稿: 3 参加年月日: 13/09/05 最新の投稿
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
8年前 に Anuvab Ghosh によって更新されました。

RE: Too Long startup times

Regular Member 投稿: 130 参加年月日: 15/04/18 最新の投稿
Can you share the server or system configuration with us?
8年前 に João Santos によって更新されました。

RE: Too Long startup times

New Member 投稿: 3 参加年月日: 13/09/05 最新の投稿
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.
8年前 に João Santos によって更新されました。

RE: Too Long startup times

New Member 投稿: 3 参加年月日: 13/09/05 最新の投稿
Any help?
thumbnail
8年前 に Manish Yadav によって更新されました。

RE: Too Long startup times

Expert 投稿: 493 参加年月日: 12/05/26 最新の投稿
Try to increase values of
CATALINA_OPTS variables located into setenv.bat or *.sh
-Xmx2048m -XX:MaxPermSize=512m

HTH
thumbnail
8年前 に Olaf Kock によって更新されました。

RE: Too Long startup times

Liferay Legend 投稿: 6403 参加年月日: 08/09/23 最新の投稿
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.