Operating System - HP-UX
1844876 Members
2225 Online
110233 Solutions
New Discussion

Java process causing sudden increase in CPU Usage and significant performance degradation

 
Yogeeraj_1
Honored Contributor

Java process causing sudden increase in CPU Usage and significant performance degradation

Dear experts!
-
This problem dates back to jan 2003 (a few months after we had installed our new server), had it again in July 2003 and last week (Tuesday) and again today (Oct 20, 2003)!
-
Here are the symptoms:
The Performance degradates rapidly with a sudden increase in CPU utilisation and user processes takes too much time to complete.
-
Am attaching some of outputs from Glance and TOP+Other details. In each case, we had to restart the server to sooze the problem.
-
Note that last week when the problem occurred and before restarting the server, we installed the following patch:
==============================================================================================
Patch Name: PHCO_29109
Patch Description: s700_800 11.11 Pthread enhancement and fixes
...
Critical:
Yes
PHCO_29109: HANG
Some customers reported seeing the hang every few
hours of operation.
PHCO_27632: HANG
PHCO_25751: ABORT
PHCO_25226: OTHER
Performance degradation and sudden increase in
CPU utilization due to mutex contention.
....
Symptoms:
PHCO_29109:
( SR:8606287920 CR:JAGae51853 )
Java processes can hang occasionally.
==============================================================================================
-
We thought that this would have fixed the problem...
This problem can't be simulated.
-
How do we proceed with further troubleshooting the problem?
-
Thank you for your time and precious replies.
-
best regards
Yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
8 REPLIES 8
Bill McNAMARA_1
Honored Contributor

Re: Java process causing sudden increase in CPU Usage and significant performance degradation

there is a tool called jmeter (If I remember correctly) that'll help you analyse what/where a java app is spending most of it's time on. You can get it from http://www.hp.com/go/java
( http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,1620,00.html )


search performance herE:
http://www.hp.com/products1/unix/java/faq/index.html

ie:
http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,1602,00.html

Later,
Bill
It works for me (tm)
Bruno Ganino
Honored Contributor

Re: Java process causing sudden increase in CPU Usage and significant performance degradation

Bruno Ganino
Honored Contributor

Re: Java process causing sudden increase in CPU Usage and significant performance degradation

Here for other Patch useful
http://www.hp.com/products1/unix/java/patches/g-11.11-1.3-1111.0112.html
HTH
Bruno
Torino (Turin) +2H
Yogeeraj_1
Honored Contributor

Re: Java process causing sudden increase in CPU Usage and significant performance degradation

Hi,
-
Thank you Bill for your reply. Unfortunately, the JMeter will only help next time we have the problem again. I will investigate further on this tool.
-
Bruno:
If you see my question above, you will see that i already have patch PHCO_29109 installed on my server.
-
Most suggestions will be most appreciated.
-
Best regards
Yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Christian Deutsch_1
Esteemed Contributor

Re: Java process causing sudden increase in CPU Usage and significant performance degradation

I noticed the same problem on my HP-UX 11.11
system every two or three weeks. Thankfully I
have 2 CPU's so Java will only eat one of them.

This happens to me in the context of Mozilla
1.4 (I have the JRE plugin 1.4.1.03). In this
case I just kill Java (or exit Mozilla, same
effect). I do wonder sometimes why this
happens but it doesn't bother me enough yet, I
guess.

Kind regards, Christian
Yeshua loves you!
Bruno Ganino
Honored Contributor

Re: Java process causing sudden increase in CPU Usage and significant performance degradation

This is very interesting....
http://www.kublerconsulting.com/hpuxperformance/UnixPerformanceFundamentals2000a.pdf
Bye
Bruno
Torino (Turin) +2H
RolandH
Honored Contributor

Re: Java process causing sudden increase in CPU Usage and significant performance degradation

Hi Yogeeraj,

see also this patch. --> PHSS_29371

and his description to the XMCHG_SHADOW_COLOR=True variable what is set from some applications.

HTH
Roland

Sometimes you lose and sometimes the others win
Yogeeraj_1
Honored Contributor

Re: Java process causing sudden increase in CPU Usage and significant performance degradation

hi Ronald,
-
Thank you for your the input.
-
Unfortunately, this patch(PHSS_29371) does not seem to have the solution since we are not running any interactive JAVA (graphic) programs.
-
In fact, we have an Event Monitor which runs with the following command:
$BASEDIR/jre/bin/java -classic -Xss1M -mx128M -classpath .:$CDIR/SMclient.jar:$C
DIR/SM700.jar:$CDIR/SM701.jar:$CDIR/SM702.jar:$CDIR/SM710.jar:$CDIR/SM711.jar:$CDIR/SM800.jar -Ddevmgr.datadir=/var/opt/SM devmgr.pmlauncher.unix.PMUNIXLauncher
>/dev/console 2>&1 &
-
Does someone have any other suggestions?
-
thanks and
best regards
Yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)