论坛

主页 » Liferay Portal » English » 3. Development

组合视图 统一视图 树状图
讨论主题 [ 上一个 | 下一个 ]
toggle
William Gosse
LR 6.11 GA2 CMS very slow and uses a lot of cpu
2012年10月12日 上午6:16
答复

William Gosse

等级: Regular Member

帖子: 249

加入日期: 2010年7月4日

最近的帖子

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
2012年10月12日 上午10:29
答复

Wilson Man

LIFERAY STAFF

等级: Liferay Master

帖子: 580

加入日期: 2006年6月21日

最近的帖子

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
2012年10月12日 下午2:05
答复

William Gosse

等级: Regular Member

帖子: 249

加入日期: 2010年7月4日

最近的帖子

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
2012年10月13日 上午10:28
答复

Jack Bakker

等级: Liferay Master

帖子: 840

加入日期: 2010年1月3日

最近的帖子


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
2012年10月14日 上午3:21
答复

Hitoshi Ozawa

等级: Liferay Legend

帖子: 7949

加入日期: 2010年3月23日

最近的帖子

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
2012年10月15日 上午8:36
答复

William Gosse

等级: Regular Member

帖子: 249

加入日期: 2010年7月4日

最近的帖子

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
2012年10月16日 上午11:06
答复

Wilson Man

LIFERAY STAFF

等级: Liferay Master

帖子: 580

加入日期: 2006年6月21日

最近的帖子

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.