LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-04-2007, 04:51 AM   #1
sjulien38
LQ Newbie
 
Registered: Oct 2007
Posts: 7

Rep: Reputation: 0
Unhappy CPU charge at 100% without any reason


Hi, my cpu usage is 100% every time.
With 'TOP' the user charge is betwin 80% an 95% and idle is 0.0% but
when I search what process saturate my box, nothing seems too high.
The sum of charge of this processes doesn't exceed 5% ???

Somebody can help me please...... I would like to KNOW what process or module charging my box.

Thanks.

My config :
Box with 750Mb Ram, P4 2.6 Ghz, 80 Go UDMA ATA Drive.
Nvidia GeForce2 Ultra.

Linux Slackware 12.0, X11, NVIDIA Driver 7185, VirtualBox 1.5 Kernel Module.

Last edited by sjulien38; 10-04-2007 at 12:48 PM. Reason: No Solved
 
Old 10-04-2007, 05:38 AM   #2
ghostdancer
Member
 
Registered: Apr 2002
Distribution: Slackware
Posts: 266

Rep: Reputation: 30
Try run top again, and type 'i'. From here, you should be able to see which task is taking a lot of your CPU resources.
 
Old 10-04-2007, 06:29 AM   #3
ghostdancer
Member
 
Registered: Apr 2002
Distribution: Slackware
Posts: 266

Rep: Reputation: 30
I forgot, you should do:

Code:
$> ps -eo "pid pcpu comm args" --sort "pcpu"
This should list down the processes in the system and list them in ascending order of CPU usage. Refer to ps man-page for more details.
 
Old 10-04-2007, 07:14 AM   #4
sjulien38
LQ Newbie
 
Registered: Oct 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks I try your solution and :

top - 14:13:22 up 1:45, 4 users, load average: 1.96, 1.91, 1.99
Tasks: 84 total, 3 running, 80 sleeping, 0 stopped, 1 zombie
Cpu(s): 91.0%us, 8.6%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.3%hi, 0.0%si, 0.0%st
Mem: 775328k total, 467352k used, 307976k free, 23388k buffers
Swap: 1646620k total, 0k used, 1646620k free, 293848k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
25648 root 25 0 5892 1848 1324 R 1.3 0.2 0:00.04 nmbd
21976 sjulien 15 0 38564 19m 11m R 0.7 2.6 0:00.72 konsole
23285 sjulien 15 0 2312 1128 876 R 0.0 0.1 0:00.04 top


nothing more....
for me 1.3 + 0.7 + 0.0 = 2% of cpu or we can see Cpu(s) : 91.0 %us and 8.6%sy ????
 
Old 10-04-2007, 07:28 AM   #5
ghostdancer
Member
 
Registered: Apr 2002
Distribution: Slackware
Posts: 266

Rep: Reputation: 30
What about output from ps command?
 
Old 10-04-2007, 09:55 AM   #6
sjulien38
LQ Newbie
 
Registered: Oct 2007
Posts: 7

Original Poster
Rep: Reputation: 0
The CPU load become standard with playing radio with amarok ???

Is it possible that the sound card driver saturate the CPU ?

Config sound : AC97 intel onboard chipset / ALSA.

Thanks.
 
Old 10-04-2007, 09:58 AM   #7
sjulien38
LQ Newbie
 
Registered: Oct 2007
Posts: 7

Original Poster
Rep: Reputation: 0
to reply to Ghostdancer, with ps I had the same value from Top.
 
Old 10-04-2007, 12:47 PM   #8
sjulien38
LQ Newbie
 
Registered: Oct 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Hey no, it is not that.

I reboot my box and I have the same troubleshoot !!!!

I start playing with amarok again and the CPU stay to 100% load without any reason.

Thanks to help me please
 
Old 10-04-2007, 12:52 PM   #9
ghostdancer
Member
 
Registered: Apr 2002
Distribution: Slackware
Posts: 266

Rep: Reputation: 30
Quote:
Originally Posted by sjulien38 View Post
The CPU load become standard with playing radio with amarok ???

Is it possible that the sound card driver saturate the CPU ?

Config sound : AC97 intel onboard chipset / ALSA.

Thanks.
This seems to be kernel related. There seems to be others also facing such problem:

https://launchpad.net/ubuntu/+source...eta/+bug/30570

To be honest, I am not sure how exactly to solve your problem. You are using the default kernel or self built kernel? You may need to play around with the kernel configuration in order to fix this problem.
 
Old 10-04-2007, 05:00 PM   #10
guzzi
Member
 
Registered: Jun 2004
Location: Lawrence, KS
Distribution: Slackware
Posts: 313

Rep: Reputation: 40
High CPU usage

My wife had this just happen to her Slack12 box.

She fixed hers by upgrading to Firefox 2.0.0.7 and by going into Control Center, then selecting Sound & Multimedia, then selecting Sound System, and at that screen she removed the check in the box of Enable the sound system.

This is information I see in her notes on this problem. Good luck
 
Old 10-05-2007, 09:42 AM   #11
sjulien38
LQ Newbie
 
Registered: Oct 2007
Posts: 7

Original Poster
Rep: Reputation: 0
I have a personal kernel 2.6.21.5 it's a standard kernel without smp and compiled for P4.

I visite the launchpad.net and I try everything they said but nothing do.

I made a kernel compiled for i386 CPU and it is the same thing !

Now I try to reinstall my box to see if my CPU continue to working for nobody.

Thanks.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a reason that vendors can't charge for drivers? Adamant1988 Linux - General 3 05-31-2006 12:45 AM
100% cpu use 100% of the time serafean Linux - Newbie 4 05-04-2006 03:36 PM
Linux running at 80% CPU power for no reason Gamezace Linux - Newbie 13 10-29-2004 01:34 AM
CPU running at 80% for no reason Gamezace Linux - Laptop and Netbook 2 10-27-2004 04:00 PM
cpu to bussy for no apperant reason. qanopus Linux - General 2 06-25-2003 01:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:15 PM.

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