Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Oracle 11i Apps.....Java hitting 100 % CPU

Posted on 2004-10-04
4
Medium Priority
?
402 Views
Last Modified: 2008-01-09
My clients have Oracle 9.2.0.3 with Oracle 11i Apps version 11.5.9 and are using a two tier arch. The OS is HP-UX testdev B.11.11 U 9000/800 892930670 unlimited-user license, with dual CPUs.  We have multiple Java products and I am not sure which version is being used. Whenever we start the services for Apache our Java processes almost immediately hits 100%. I have two questions.
1) How do I identify the Java version ?
2) how do I resolve the java 100% cpu usage?

TIA
Anand
0
Comment
Question by:anand_2000v
  • 2
  • 2
4 Comments
 
LVL 4

Expert Comment

by:aratani
ID: 12219005
1) java -version

will give you the version of java used

I will look into your question # 2.

AJ
0
 
LVL 4

Accepted Solution

by:
aratani earned 1000 total points
ID: 12219135
0
 
LVL 13

Author Comment

by:anand_2000v
ID: 12219231
The entire Java programming here is Oracle's own code.....I want help on the Jser and other such settings.
0
 
LVL 13

Author Comment

by:anand_2000v
ID: 12219352
result of top command in Unix
System: testdev                                       Mon Oct  4 23:01:27 2004
Load averages: 2.36, 1.69, 1.49
171 processes: 142 sleeping, 29 running
Cpu states:
CPU   LOAD   USER   NICE    SYS   IDLE  BLOCK  SWAIT   INTR   SSYS
 0    3.42  98.2%   0.0%   1.8%   0.0%   0.0%   0.0%   0.0%   0.0%
 1    1.31  63.9%   0.0%  36.1%   0.0%   0.0%   0.0%   0.0%   0.0%
---   ----  -----  -----  -----  -----  -----  -----  -----  -----
avg   2.36  81.0%   0.0%  19.0%   0.0%   0.0%   0.0%   0.0%   0.0%

Memory: 1126468K (664156K) real, 2740060K (2174600K) virtual, 2412120K free  Page# 1/6

CPU TTY     PID USERNAME PRI NI   SIZE    RES STATE    TIME %WCPU  %CPU COMMAND
 0   ?     2724 applprod 152 20   537M   153M run    509:43 100.39 100.22 java
 0   ?     3952 applprod 241 20 75204K 22272K run    352:53 93.57 93.41 f60webmx
 0   ?    18066 applprod 188 20 75416K 21492K run      0:19  3.59  3.58 f60webmx
 1   ?    17385 applprod 154 20 92268K 36988K sleep    0:24  1.60  1.59 f60webmx
 1   ?     3049 applprod 152 20   243M 46236K run      2:44  0.59  0.59 java
 0   ?     2723 applprod 152 20   516M   134M run      2:07  0.58  0.58 java
 1   ?       35 root     152 20  1056K  1056K run      0:23  0.40  0.40 vxfsd
 0 pts/ta 18769 applprod 178 20 11788K   788K run      0:01  0.30  0.30 top
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
The viewer will learn how to implement Singleton Design Pattern in Java.
Suggested Courses

783 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question