Solved

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

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

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 This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

758 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now