Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
William Gosse
LR 6.11 GA2 CMS very slow and uses a lot of cpu
October 12, 2012 6:16 AM
Answer

William Gosse

Rank: Expert

Posts: 276

Join Date: July 4, 2010

Recent Posts

I just upgraded a 6.05 portal to 6.11 GA2. For the most part everything seems to work ok and the upgrade process went fairly smootth. We did migrate all are custom development as for 6.11.

The one issue I'm noticing is with the Content Management System, especially the web content editor. Using it is very slow and causes a tremendous cpu load to occur.

Is there something that can be done about this. We didn't really notice this problem with 6.05.
Wilson Man
RE: LR 6.11 GA2 CMS very slow and uses a lot of cpu
October 12, 2012 10:29 AM
Answer

Wilson Man

LIFERAY STAFF

Rank: Liferay Master

Posts: 580

Join Date: June 21, 2006

Recent Posts

probably need more info before the community can assess ...

what's your system architecture? are you running db on the same machine as liferay-portal? (if so, the cpu spike could be due to db queries)
what's your permission scheme? have you checked the size of the db table related to permission?

what's probably needed is a profiling of your machine to see where the bottlenecks are.
William Gosse
RE: LR 6.11 GA2 CMS very slow and uses a lot of cpu
October 12, 2012 2:05 PM
Answer

William Gosse

Rank: Expert

Posts: 276

Join Date: July 4, 2010

Recent Posts

Again I'm talking about the out of the box CMS web content editor that comes with Liferay 6.11, so this is nothing that we've developed or added.

I'm on a win2008 server with 8gb memory and two Zeon processors. Actually its an EC2 instance, however its the same exact instance that I had my 6.05 portal deployed on. 6.05 did not have the same kind of issues that I'm seeing with 6.11.

I'm using a MySql database for Liferay's schema and again its the same exact database that I had 6.05 on as well

So the major change was from 6.05 to 6.11.
Jack Bakker
RE: LR 6.11 GA2 CMS very slow and uses a lot of cpu
October 13, 2012 10:28 AM
Answer

Jack Bakker

Rank: Liferay Master

Posts: 882

Join Date: January 3, 2010

Recent Posts


CMS web content editor

I am a bit confused why you reference the CMS web content editor specifically. To me that means the WYSWYG editor (ckeditor fckeditor or whatever u are using) ...

I have played with a few AWS EC2 for Liferay (small instance at minimum) ; is your mysql on the same EC2 instance ? or are u using RDS ? have you a custom setenv to manage JVM ? and if so can u provide ?
Hitoshi Ozawa
RE: LR 6.11 GA2 CMS very slow and uses a lot of cpu
October 14, 2012 3:21 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

Are you talking about the server side or the client javascript?
William Gosse
RE: LR 6.11 GA2 CMS very slow and uses a lot of cpu
October 15, 2012 8:36 AM
Answer

William Gosse

Rank: Expert

Posts: 276

Join Date: July 4, 2010

Recent Posts

I'm using the editor that comes with Liferay for creating web content display.

We are on an EC2 large (8gb ram and 2 cores). Mysql is on the same box as well.
Wilson Man
RE: LR 6.11 GA2 CMS very slow and uses a lot of cpu
October 16, 2012 11:06 AM
Answer

Wilson Man

LIFERAY STAFF

Rank: Liferay Master

Posts: 580

Join Date: June 21, 2006

Recent Posts

sounds like this is a client side issue with the javascript? you can monitor the load on your server side and see if there's any anomalies. as for the client side, see if you can use firebug or other tools to investigate whether there's a javascript error or missing resources, etc.