- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Java consuming too much CPU resources
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2008 09:21 PM
07-26-2008 09:21 PM
In my rx3600 server the cpu utilisation always showing more than 100%.
The main process which is consuming more CPU is "JAVA".Please find the attachment.
Server Configuration:
rx3600
CPU info: Number of CPUs = 4
Clock speed = 1595 MHz
Memory = 12257 MB (11.969727 GB)
PatchSet Details
QPKAPPS B.11.23.0706.064 Applications Quality Pack Bundle for HP-UX 11i v2, June 2007
QPKBASE B.11.23.0706.064 Base Quality Pack Bundle for HP-UX 11i v2, June 2007
HWEnable11i B.11.23.0706.064 Hardware Enablement Patches for HP-UX 11i v2, June 2007
wkt24u02#which java
/opt/java1.5/bin/java
There is any fine tune i have to do for JAVA?
Thanks in advance,
Manoj K
Manoj K
Solved! Go to Solution.
- Tags:
- Java
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2008 09:32 PM
07-26-2008 09:32 PM
Re: Java consuming too much CPU resources
> [...] B.11.23 [...]
You might try asking in an HP-UX forum,
instead of in this Tru64 forum.
> Please find the attachment.
This might be easier if you attached one.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2008 10:07 PM
07-26-2008 10:07 PM
Re: Java consuming too much CPU resources
Have you tried glance or HPjmeter to check your performance?
http://www.hp.com/go/hpjmeter
- Tags:
- HPJmeter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2008 05:18 PM
07-27-2008 05:18 PM
Re: Java consuming too much CPU resources
Can you paste in the report from these commands?
UNIX95=1 ps -e -o vsz,rss,sz,pid,ppid,comm | sort -rna | head
UNIX95=1 ps -e -o cpu,pcpu,state,pid,ppid,comm | sort -rna | head
- Tags:
- UNIX95
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2008 06:07 PM
07-27-2008 06:07 PM
Re: Java consuming too much CPU resources
http;//www.hp.com/go/java
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2008 01:18 AM
07-28-2008 01:18 AM
Re: Java consuming too much CPU resources
This is either Java or the app.
Or both.
Find the leak, then act:
http://www.hpux.ws/?p=8
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2008 04:20 AM
07-28-2008 04:20 AM
Re: Java consuming too much CPU resources
I have used hpjmeter for monitoring java, The cpu usage and Java Method hotspot output is there in the attached file (1)
Hi Michael,
System is not accepting sopme options from the given command eg:- rss & a (sort -rna)
So i have run the commands as follows and the output is there in the attached file.
UNIX95=1 ps -e -o vsz,sz,pid,ppid,comm | sort -rn | head
UNIX95=1 ps -e -o cpu,pcpu,state,pid,ppid,comm | sort -rn | head
Hi Steven,
This is an application called TCServer (Temenos core banking service) which is using java.
I am not having any problem with memory, but the bottleneck is there with cpu.
Thanks & waiting for the reply,
Manoj K
Manoj K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2008 04:22 AM
07-28-2008 04:22 AM
Re: Java consuming too much CPU resources
Forgotten to attach the attachment. Please find it here.
Manoj K
- Tags:
- missing attachment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2008 05:03 AM
07-28-2008 05:03 AM
Re: Java consuming too much CPU resources
Basically top has:
119.35% in java and steady, using 840 Mb. jpqn is also using a lot.
HPjmeter says you are spending 89% of your time in Util.splitV.
So you need to talk to the developers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2008 05:12 AM
07-28-2008 05:12 AM
Re: Java consuming too much CPU resources
Have you considered analyzing what the *application* code is doing?
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2008 07:10 AM
07-28-2008 07:10 AM
Re: Java consuming too much CPU resources
Virtual Memory
vsz,sz,state,pid,ppid,comm | sort -rn | head
244740 61067 15809 15807 jpqn
pid = 15809
ppid = 15807
CPU
UNIX95=1 ps -e -o cpu,pcpu,state,pid,ppid,comm | sort -rn | head
255 71.21 R 15809 15807 jpqn
pid = 15809
ppid = 15807
Rerun and paste this command.
UNIX95=1 ps -e -o vsz,sz,state,pid,ppid,comm | sort -rn | head
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2008 11:16 PM
07-29-2008 11:16 PM
Re: Java consuming too much CPU resources
In the system my main concern is cpu usage. For that i have used the following command and the output is attached with this mail.
UNIX95=1 ps -e -o pid,ppid,cpu,pcpu,vsz,sz,comm | sort -rnk4 |more
I have also run the command as you mentioned and the output is also there in the attachment.
Manoj K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2008 07:16 AM
07-30-2008 07:16 AM
SolutionYou've got a memory leak problem with pid 15809.
wkt24u02#UNIX95=1 ps -e -o vsz,sz,state,pid,ppid,comm | sort -rn | head
1530884 382591 R 15809 15807 jpqn
177264 26840 R 11167 1 java
70844 12042 R 25883 1 java
If you compare the vsz consumption in the first attachement you'll a huge growth. This jave application is not releasing memory. It needs to go back to the programmers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2008 10:03 PM
08-02-2008 10:03 PM
Re: Java consuming too much CPU resources
I have raised this issue with our application team and they were checking it in CODE level, so i am closing this thread.
Thanks again.
Manoj K
Manoj K