Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Jan 03, 2008 6:56 am 
Offline
Junior Member

Joined: Tue Jan 01, 2008 11:31 am
Posts: 38
"Your Linode has averaged
74%
of one Host CPU for this month"

What does that mean? I used 74% of cpu time since beginning of the month or does it mean I have only 26% of the cpu time to use and then my box goes to sleep for the rest of the month? I wonder why my cpu graph is at 100% all the time and when i really use the box it goes up till 120%..? thanks!


Top
   
 Post subject:
PostPosted: Thu Jan 03, 2008 10:07 am 
Offline
Senior Member
User avatar

Joined: Sat Mar 24, 2007 6:09 pm
Posts: 59
Location: South Africa
If your CPU is at 100% all the time, it means you have a broken or runaway process somewhere.

Run the top command from the commandline (press 'q' to quit it). Top will display the programs (processes) running on your system and will sort it from highest to lowest CPU usage.

Unix processes are normally very lightweight and should (when idle) not take up more than a few percent. If you have one sitting at 90%+ and is idle, then it needs to be investigated.

--deckert

/me hopes he doesn't share a CPU with cattani :wink:


Top
   
 Post subject:
PostPosted: Thu Jan 03, 2008 10:40 am 
Offline
Junior Member

Joined: Tue Jan 01, 2008 11:31 am
Posts: 38
thanks! but i asked, because i dont get the difference between top showing me my machine is 100-99,5% idle, but the graph in the linode webinterface always shows around 100%.. heres the graph:
[img]
http://www.yourfilehost.com/media.php?c ... aph.sh.png
[/img]

and thats what top says:

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
17551 nrmaluser 20 0 2268 992 784 R 0.3 0.3 0:00.35 top
1 root 20 0 2108 580 504 S 0.0 0.2 0:00.74 init
2 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kthreadd
3 root 15 -5 0 0 0 S 0.0 0.0 0:00.01 ksoftirqd/0
4 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 events/0
5 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 khelper
43 root 15 -5 0 0 0 S 0.0 0.0 0:00.02 kblockd/0
60 root 20 0 0 0 0 S 0.0 0.0 0:00.01 pdflush
61 root 20 0 0 0 0 S 0.0 0.0 0:00.07 pdflush
62 root 15 -5 0 0 0 S 0.0 0.0 0:00.19 kswapd0
63 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 aio/0
71 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 jfsIO
72 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 jfsCommit
73 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 jfsSync
74 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 xfslogd/0
75 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 xfsdatad/0
76 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 xfs_mru_cache


Top
   
 Post subject:
PostPosted: Thu Jan 03, 2008 6:46 pm 
Offline
Senior Member
User avatar

Joined: Sat Mar 24, 2007 6:09 pm
Posts: 59
Location: South Africa
Hmmm, that's interresting.

1. What kernel version are you on? (uname -a)
2. What is the contents of /proc/loadavg? (cat /proc/loadavg)

--deckert


Top
   
 Post subject:
PostPosted: Fri Jan 04, 2008 2:11 am 
Offline
Junior Member

Joined: Tue Jan 01, 2008 11:31 am
Posts: 38
loadavg:
0.00 0.00 0.00 1/98 18827

uname -a:
Linux lix-y 2.6.23.1-linode36 #1 Sun Nov 4 12:03:06 EST 2007 i686 i686 i386 GNU/Linux


Top
   
 Post subject:
PostPosted: Fri Jan 04, 2008 4:38 am 
Offline
Senior Member
User avatar

Joined: Sat Mar 24, 2007 6:09 pm
Posts: 59
Location: South Africa
cattani, open a support ticket with the Linode guys - this is not normal.

--deckert


Top
   
 Post subject:
PostPosted: Fri Jan 04, 2008 1:06 pm 
Offline
Junior Member

Joined: Tue Jan 01, 2008 11:31 am
Posts: 38
support ticket helped :-)
"CPU usage shown on the dashboard is a sum of all processes running with your username on the host. In this case a LISH instance didn't get terminated when you disconnected and was spinning."

support killed the insctance, now cpu usage is at zero


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group