留言板

Too Long startup times

João Santos,修改在8 年前。

Too Long startup times

New Member 帖子: 3 加入日期: 13-9-5 最近的帖子
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,修改在8 年前。

RE: Too Long startup times

Regular Member 帖子: 130 加入日期: 15-4-18 最近的帖子
Can you share the server or system configuration with us?
João Santos,修改在8 年前。

RE: Too Long startup times

New Member 帖子: 3 加入日期: 13-9-5 最近的帖子
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,修改在8 年前。

RE: Too Long startup times

New Member 帖子: 3 加入日期: 13-9-5 最近的帖子
Any help?
thumbnail
Manish Yadav,修改在8 年前。

RE: Too Long startup times

Expert 帖子: 493 加入日期: 12-5-26 最近的帖子
Try to increase values of
CATALINA_OPTS variables located into setenv.bat or *.sh
-Xmx2048m -XX:MaxPermSize=512m

HTH
thumbnail
Olaf Kock,修改在8 年前。

RE: Too Long startup times

Liferay Legend 帖子: 6403 加入日期: 08-9-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.