留言板

liferay 6.2 GA2 tomcat mysql high cpu issue

thumbnail
William Gosse,修改在9 年前。

liferay 6.2 GA2 tomcat mysql high cpu issue

Liferay Master 帖子: 533 加入日期: 10-7-4 最近的帖子
I think I'm seeing an issue liferay 6.2 GA2 mysql. I'm getting high CPU usage on the readaheadinputstream.fill call when viewed in visualvm. if left to itself the tomcat will eventually consume 100% of the cpu. More details on this issue can be found here: https://www.liferay.com/community/forums/-/message_boards/message/49746781
thumbnail
David H Nebinger,修改在9 年前。

RE: liferay 6.2 GA2 tomcat mysql high cpu issue

Liferay Legend 帖子: 14915 加入日期: 06-9-2 最近的帖子
Two quick questions:

1. Are you using the latest mysql driver (just to rule out driver issues)?

2. What is going on at the point of blockage? I mean, if you're querying for all 2+m posts on the forum, you'd see a similar usage pattern trying to read a whole lot of data coming back from the database...
thumbnail
William Gosse,修改在9 年前。

RE: liferay 6.2 GA2 tomcat mysql high cpu issue

Liferay Master 帖子: 533 加入日期: 10-7-4 最近的帖子
1. I'm using the driver that came with Liferay. Do I need to upgrade that?

2. There's absolutely nothing going on. There's no access at all.
thumbnail
David H Nebinger,修改在9 年前。

RE: liferay 6.2 GA2 tomcat mysql high cpu issue

Liferay Legend 帖子: 14915 加入日期: 06-9-2 最近的帖子
I certainly would upgrade it. The one with Liferay is quite old...
thumbnail
William Gosse,修改在9 年前。

RE: liferay 6.2 GA2 tomcat mysql high cpu issue

Liferay Master 帖子: 533 加入日期: 10-7-4 最近的帖子
The current version in Liferay 6.2 GA2 doesn't seem that old. The version in GA2 is 5.1.23 while the latest version from MySQL is 5.1.34.
thumbnail
David H Nebinger,修改在9 年前。

RE: liferay 6.2 GA2 tomcat mysql high cpu issue

Liferay Legend 帖子: 14915 加入日期: 06-9-2 最近的帖子
6.2 GA 2 is over a year old: http://en.wikipedia.org/wiki/Liferay.

That makes 5.1.23 for the jdbc driver even older.
thumbnail
Olaf Kock,修改在9 年前。

RE: liferay 6.2 GA2 tomcat mysql high cpu issue

Liferay Legend 帖子: 6403 加入日期: 08-9-23 最近的帖子
As the link to the other thread is easily missed: The current prescription is to upgrade to GA3 due to LPS-47533 which William has postponed until GA4 is available.

The only other option might be to identify the changes and specifically fix LPS-47533 in GA2 (which might make more work for William than just checking GA3)

@William: Once you upgraded, let us know if it worked.
thumbnail
William Gosse,修改在9 年前。

RE: liferay 6.2 GA2 tomcat mysql high cpu issue

Liferay Master 帖子: 533 加入日期: 10-7-4 最近的帖子
Not sure what LPS-47533 is trying to say the issue or how I can fix it.

Anyhow, is then any new news on the GA4 release?
thumbnail
Olaf Kock,修改在9 年前。

RE: liferay 6.2 GA2 tomcat mysql high cpu issue

Liferay Legend 帖子: 6403 加入日期: 08-9-23 最近的帖子
Try to fix by upgrading. I don't expect any big changes between GA3 and 4, so that there shouldn't be any complex upgrade procedure. IMHO you should try GA3 now and, if it's fixed, use GA4 once it's out. It's expected soon-ish (I don't have the exact date)
thumbnail
William Gosse,修改在9 年前。

RE: liferay 6.2 GA2 tomcat mysql high cpu issue

Liferay Master 帖子: 533 加入日期: 10-7-4 最近的帖子
GA3 has a major permissions issue for documents and images being viewed by guests. That's why I'm waiting for GA4.
thumbnail
Olaf Kock,修改在9 年前。

RE: liferay 6.2 GA2 tomcat mysql high cpu issue

Liferay Legend 帖子: 6403 加入日期: 08-9-23 最近的帖子
I know, but my recommendation is to check if the issue that you're describing has been fixed already. You don't need to upgrade your production environment, just check in a test environment. At least with this you'd immediately know if an upgrade (to GA4 then) will likely fix your issue or if you still need to find the root cause. If you wait until GA4 is out, the time until then will be lost for finding this out.
thumbnail
Olaf Kock,修改在9 年前。

RE: liferay 6.2 GA2 tomcat mysql high cpu issue

Liferay Legend 帖子: 6403 加入日期: 08-9-23 最近的帖子
William Gosse:
GA3 has a major permissions issue for documents and images being viewed by guests. That's why I'm waiting for GA4.


Heads up - please see the announcement here
thumbnail
Juan Gonzalez,修改在8 年前。

RE: liferay 6.2 GA2 tomcat mysql high cpu issue

Liferay Legend 帖子: 3089 加入日期: 08-10-28 最近的帖子
Hi William,

I saw you are still having issues in GA4.

Please can you repeat the thread dump analysis you made in your first post to see if there are other class involved?

Thanks!
thumbnail
William Gosse,修改在8 年前。

RE: liferay 6.2 GA2 tomcat mysql high cpu issue

Liferay Master 帖子: 533 加入日期: 10-7-4 最近的帖子
Ok I've upgraded to 6.2 GA4 and switched to Postgres but I'm still having the similar issues with high cpu. I've attached some data that I've gathered from visualvm, including a thread dump.