LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-09-2006, 04:13 AM   #1
saarb16
LQ Newbie
 
Registered: Feb 2006
Posts: 3

Rep: Reputation: 0
high cpu utilization 'top' analysis


I have a dedicated machine that runs RHEL ES 4 with two mains tasks: MySQL database (as a service) and a java application that works with that database as its single client. When I launch my java application, 'top' shows that the overall CPU utilization on the machine rises to > 95%, and indeed the java application which is cpu bound is doing what it should. But top does NOT show the processes that consume the CPU. All the processes it lists have very little cpu utilization figures.

When I invoke the ps command, it claims as well that my java application and mysql are not busy (%cpu < 5). I know for a fact this is not true. If I close the java application - the overall CPU on the machine immediately goes does (<5%).

Why does top and ps both claim that the java application and the database are idle? a real mystery to me.
 
Old 03-09-2006, 04:54 AM   #2
zeitounator
Member
 
Registered: Aug 2003
Location: Montpellier, France, Europe, World, Solar System
Distribution: Debian Sarge, Fedora core 5 (i386 and x86_64)
Posts: 262

Rep: Reputation: 30
How many % eaten up by iowait ? (see this in 'top' detailed output for cpu or with 'iostat').
 
Old 03-09-2006, 09:58 AM   #3
saarb16
LQ Newbie
 
Registered: Feb 2006
Posts: 3

Original Poster
Rep: Reputation: 0
It turned out there was a bug in the kernel I was using (RHEL 2.6.9-5). I upgraded the kernel to 2.6.9-34 and now is works fine.

Thanks anyway,
Saar
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Software Raid: High Cpu Utilization ludwigs3rd Linux - General 4 01-17-2006 08:07 PM
High CPU utilization on deb 3.1 maybbach Debian 2 12-16-2005 11:54 AM
high cpu utilization under heavy traffic load electron707 Linux - Security 4 01-13-2005 08:59 AM
RH8 Load Average High - No CPU Utilization jj91709 Red Hat 2 08-29-2004 12:28 AM
cpu utilization in windows xp too high... spyghost General 3 10-15-2003 07:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration