Solved

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

Posted on 2004-10-04
4
394 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 250 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Groovy problem when using SOAPUI : DispatchException occurred 7 58
tomcat startup error 5 102
printf performancy 11 67
junit as external jar or library 7 22
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
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:

809 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