LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-11-2007, 04:37 AM   #1
skate
Member
 
Registered: Aug 2003
Location: Bulgaria
Distribution: OpenSuse 10.3, Debian 4.0r3 "Etch", FreeBSD 7.1, Ubuntu
Posts: 210

Rep: Reputation: 30
Question High CPU usage ?! Why?


I am having very HIGH CPU usage... can someone help me to solve the problem.

Thats what top says:

top - 12:36:13 up 5 days, 1:33, 1 user, load average: 1.02, 0.90, 0.91
Tasks: 121 total, 2 running, 115 sleeping, 4 stopped, 0 zombie
Cpu(s): 36.6% us, 5.2% sy, 0.0% ni, 56.9% id, 1.3% wa, 0.0% hi, 0.0% si
Mem: 2074860k total, 2018108k used, 56752k free, 245400k buffers
Swap: 4096564k total, 0k used, 4096564k free, 1296920k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
16668 mysql 15 0 125m 19m 4152 S 26 1.0 8:49.41 mysqld
17039 apache 16 0 30772 8504 3180 S 24 0.4 0:49.76 httpd
16993 apache 15 0 30688 8820 3580 S 19 0.4 0:21.15 httpd
17046 apache 15 0 30736 8736 3448 S 16 0.4 0:32.78 httpd
16994 apache 15 0 30740 8488 3196 S 16 0.4 0:43.44 httpd
17103 apache 16 0 36080 13m 3504 R 12 0.7 0:14.10 httpd
16995 apache 15 0 30824 8904 3524 S 12 0.4 0:41.03 httpd
18403 apache 16 0 30688 8388 3148 S 12 0.4 0:16.62 httpd
19071 apache 17 0 30172 7312 2596 S 11 0.4 0:00.34 httpd
18288 apache 15 0 30724 8244 2964 S 9 0.4 0:09.41 httpd
17101 apache 15 0 31544 9568 3468 S 4 0.5 0:33.65 httpd
16997 apache 15 0 30708 8436 3176 S 2 0.4 0:46.85 httpd
17027 apache 15 0 30676 8764 3532 S 2 0.4 0:42.28 httpd
..............

I have alot users connecting to my domain which is pointed to my maching and showing web page through apache....
 
Old 04-11-2007, 05:55 AM   #2
zaichik
Member
 
Registered: May 2004
Location: Iowa USA
Distribution: CentOS
Posts: 419

Rep: Reputation: 30
This isn't high. The load average is just over 1. I wouldn't be concerned until it was over 5 per CPU, and that a long-term value, not a peak value.

You've got plenty of available memory, so should the load go up higher, I would suspect that MySQL hasn't been properly optimized. Look to that if you really need to improve performance on this machine.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
source of high cpu usage edgjerp Linux - Software 4 02-02-2007 03:37 AM
High Cpu usage untak Debian 21 01-23-2007 06:21 AM
High CPU usage from udev Crushing Belial Slackware 1 01-09-2007 06:10 PM
cpu usage high corbintechboy VectorLinux 2 07-27-2005 08:11 AM
Rhythmbox high cpu usage Pipedream Linux - Software 0 11-07-2004 03:17 PM


All times are GMT -5. The time now is 03:23 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration