dkerbaugh Super Contributor.
Super Contributor.
1607 views

WebAccess Java High CPU

We are running a GroupWise 2014 SP2 system on an OES 11 SP2 server.

After a couple weeks Java runs at 175% CPU and requires restarting novell-tomcat6.

How and where would I make the changes so Java / Tomcat operate with Xms1024m and Xmx4096m settings?

Also with those settings is an export in the script required.

Other posts indicate these settings need to be applied to /etc/opt/novell/tomcat6/conf/novell-tomcat6.conf file.

When I make those settings in the conf file how do I determine whether or not they are effective?

Thanks, Dave.
Labels (1)
0 Likes
3 Replies
Knowledge Partner
Knowledge Partner

Re: WebAccess Java High CPU

In article <dkerbaugh.745han@no-mx.forums.microfocus.com>, Dkerbaugh
wrote:
> How and where would I make the changes so Java / Tomcat operate with
> Xms1024m and Xmx4096m settings?
>
> Also with those settings is an export in the script required.
>
> Other posts indicate these settings need to be applied to
> /etc/opt/novell/tomcat6/conf/novell-tomcat6.conf file.


We confirm which instance of tomcat is being used.
ps aux | grep tomcat
in which we see several folders looking for the highest version, with
Novell ones being 'higher' than non-Novell ones.
In the example I am looking at (GW2012.3 on OES11.2) I see a few
instances of /var/opt/novell/tomcat6 as the highest version. To confirm
that this is running
rcnovell-tomcat6 status
if that is the case, then the config file you referred to is correct.
After you've made the changes
rcnovell-tomcat6 restart
ps eaf | grep java
should now show the -Xms and -Xmx settings which I see doesn't show for
unmodified/default systems.


Also see an earlier thread for more on this for different perspectives
https://forums.novell.com/showthread.php/493716-Server-memory-is-too-
low-error-on-GroupWise-WebAccess-2014


Andy of
http://KonecnyConsulting.ca in Toronto
Knowledge Partner
http://forums.novell.com/member.php/75037-konecnya
If you find a post helpful and are logged in the Web interface, please
show your appreciation by clicking on the star below. Thanks!

___
Andy of Konecny Consulting in Toronto
Knowledge Partner Profile
If you find a post helpful, click the Like button below. Thanks!
0 Likes
dkerbaugh Super Contributor.
Super Contributor.

Re: WebAccess Java High CPU

I did confirm that novell-tomcat6 loads at startup versus tomcat6.

I entered the following in /etc/opt/novell/conf/novell-tomcat6.conf file:
CATALINA_OPTS="-Xthr:minimizeUserCPU -Xms2048M -Xmx4096M"

After restarting, (rcnovell-tomcat6), I do see the new parameters.

Brainshare 2014 PDF recommended the -Xms2048M -Xmx4096M do I need to be concerned with garbage collection parameters?

Also, would you be so kind to explain what effect the following parameter in the conf file would have:
JAVA_OPTS="-Xminf0.1 -Xmaxf0.3"

Thank you for your help!
0 Likes
Knowledge Partner
Knowledge Partner

Re: WebAccess Java High CPU

In article <dkerbaugh.74clbb@no-mx.forums.microfocus.com>, Dkerbaugh
wrote:
> After restarting, (rcnovell-tomcat6), I do see the new parameters.

Often for max benefit, a full reboot will be needed at some point.

> Brainshare 2014 PDF recommended the -Xms2048M -Xmx4096M do I need to be
> concerned with garbage collection parameters?

Those are the numbers I would go with as well assuming system RAM is 6GB+
I have never had to dig into the garbage collection side, so I can't help
you with JAVA_OPTS. If you do some tests with JAVA_OPTS, do let us know
the results you see.


Andy of
http://KonecnyConsulting.ca in Toronto
Knowledge Partner
http://forums.novell.com/member.php/75037-konecnya
If you find a post helpful and are logged in the Web interface, please
show your appreciation by clicking on the star below. Thanks!

___
Andy of Konecny Consulting in Toronto
Knowledge Partner Profile
If you find a post helpful, click the Like button below. Thanks!
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.