Foros de discusión

Liferay 6.2 very slow due to Portlet Preferences

pierpaolo rai, modificado hace 6 años.

Liferay 6.2 very slow due to Portlet Preferences

New Member Mensajes: 12 Fecha de incorporación: 9/11/12 Mensajes recientes
Hello guys,
I migrate my Liferay portal from verion 6.1 to 6.2.
I'm having a big problem, the new portal is very very slow !!!!!
I put my logs in TRACE mode and I found my catalina.ou full of this:

14:08:58,646 DEBUG [ajp-bio-8009-exec-126][TwoPhaseLoad:39] resolving associations for [com.liferay.portal.model.impl.PortletPreferencesImpl#26222876]
14:08:58,646 DEBUG [ajp-bio-8009-exec-126][TwoPhaseLoad:39] done materializing entity [com.liferay.portal.model.impl.PortletPreferencesImpl#26222876]
14:08:58,647 DEBUG [ajp-bio-8009-exec-126][TwoPhaseLoad:39] resolving associations for [com.liferay.portal.model.impl.PortletPreferencesImpl#26226584]
14:08:58,607 DEBUG [ajp-bio-8009-exec-127][Loader:39] result set row: 6680
14:08:58,562 TRACE [ajp-bio-8009-exec-128][BasicExtractor:263] found [25808525] as column [portletP1_346_]
14:08:58,648 DEBUG [ajp-bio-8009-exec-128][Loader:39] result row: EntityKey[com.liferay.portal.model.impl.PortletPreferencesImpl#25808525]
14:08:58,562 TRACE [ajp-bio-8009-exec-130][AbstractEntityPersister:232] Hydrating entity: [com.liferay.portal.model.impl.PortletPreferencesImpl#28300492]
14:08:58,649 TRACE [ajp-bio-8009-exec-130][BasicExtractor:263] found [0] as column [ownerId346_]
14:08:58,648 TRACE [ajp-bio-8009-exec-128][Loader:232] Initializing object from ResultSet: [com.liferay.portal.model.impl.PortletPreferencesImpl#25808525]
14:08:58,648 TRACE [ajp-bio-8009-exec-127][BasicExtractor:263] found [28078593] as column [portletP1_346_]
14:08:58,651 DEBUG [ajp-bio-8009-exec-127][Loader:39] result row: EntityKey[com.liferay.portal.model.impl.PortletPreferencesImpl#28078593]
14:08:58,651 TRACE [ajp-bio-8009-exec-127][Loader:232] Initializing object from ResultSet: [com.liferay.portal.model.impl.PortletPreferencesImpl#28078593]
14:08:58,652 TRACE [ajp-bio-8009-exec-127][AbstractEntityPersister:232] Hydrating entity: [com.liferay.portal.model.impl.PortletPreferencesImpl#28078593]
14:08:58,652 TRACE [ajp-bio-8009-exec-127][BasicExtractor:263] found [0] as column [ownerId346_]
14:08:58,653 TRACE [ajp-bio-8009-exec-127][BasicExtractor:263] found [3] as column [ownerType346_]
14:08:58,653 TRACE [ajp-bio-8009-exec-127][BasicExtractor:263] found [10671] as column [plid346_]
14:08:58,654 TRACE [ajp-bio-8009-exec-127][BasicExtractor:263] found [101_INSTANCE_puXKb7tyIqbv] as column [portletId346_]
14:08:58,655 TRACE [ajp-bio-8009-exec-127][BasicExtractor:263] found [<portlet-preferences></portlet-preferences>] as column [preferen6_346_]

do you have any idea of what appened?
Thanks so much for your help.

PPL.
thumbnail
David H Nebinger, modificado hace 6 años.

RE: Liferay 6.2 very slow due to Portlet Preferences

Liferay Legend Mensajes: 14914 Fecha de incorporación: 2/09/06 Mensajes recientes
Seriously? You're showing a log with an elapsed time of 10 milliseconds. That's hardly considered slow.









Come meet me at the 2017 LSNA!
pierpaolo rai, modificado hace 6 años.

RE: Liferay 6.2 very slow due to Portlet Preferences

New Member Mensajes: 12 Fecha de incorporación: 9/11/12 Mensajes recientes
The slow is referred to the navigation between the pages (about 1 minute).
The log is showing the messages above for all the time.
thumbnail
David H Nebinger, modificado hace 6 años.

RE: Liferay 6.2 very slow due to Portlet Preferences

Liferay Legend Mensajes: 14914 Fecha de incorporación: 2/09/06 Mensajes recientes
Your only option is to wire in a profiler so you can see where time is being spent. Clearly the log is not showing all that is going on, only a profiler is going to be able to determine where all of the time is going.








Come meet me at the 2017 LSNA!