Foren

Home » Liferay Portal » English » 3. Development

Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
William Gosse
LR 6.11 GA2 CMS very slow and uses a lot of cpu
12. Oktober 2012 06:16
Antwort

William Gosse

Rang: Expert

Nachrichten: 257

Eintrittsdatum: 4. Juli 2010

Neue Beiträge

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
12. Oktober 2012 10:29
Antwort

Wilson Man

LIFERAY STAFF

Rang: Liferay Master

Nachrichten: 580

Eintrittsdatum: 21. Juni 2006

Neue Beiträge

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
12. Oktober 2012 14:05
Antwort

William Gosse

Rang: Expert

Nachrichten: 257

Eintrittsdatum: 4. Juli 2010

Neue Beiträge

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
13. Oktober 2012 10:28
Antwort

Jack Bakker

Rang: Liferay Master

Nachrichten: 840

Eintrittsdatum: 3. Januar 2010

Neue Beiträge


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
14. Oktober 2012 03:21
Antwort

Hitoshi Ozawa

Rang: Liferay Legend

Nachrichten: 7949

Eintrittsdatum: 23. März 2010

Neue Beiträge

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
15. Oktober 2012 08:36
Antwort

William Gosse

Rang: Expert

Nachrichten: 257

Eintrittsdatum: 4. Juli 2010

Neue Beiträge

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
16. Oktober 2012 11:06
Antwort

Wilson Man

LIFERAY STAFF

Rang: Liferay Master

Nachrichten: 580

Eintrittsdatum: 21. Juni 2006

Neue Beiträge

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.