- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Java consuming too much CPU resources
Operating System - HP-UX
1753691
Members
6182
Online
108799
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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-28-2008 07:10 AM
тАО07-28-2008 07:10 AM
Re: Java consuming too much CPU resources
Here's your biggest memory and cpu consumer :
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
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
Support Fatherhood - Stop Family Law
- 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
Hi Michel,
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.
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.
Thanks and Regards,
Manoj K
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
Solution
Hi Manoj:
You'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.
You'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.
Support Fatherhood - Stop Family Law
- 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
Thanks to all for helping me to get some idea.
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
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
Thanks and Regards,
Manoj K
Manoj K
- « Previous
-
- 1
- 2
- Next »
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP