Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Sep 26, 2011 5:10 am 
Offline
Newbie

Joined: Mon Sep 26, 2011 4:52 am
Posts: 3
Hi,

I noticed that the CPU graph on my dashboard has been showing 8% CPU usage consistently since September (viewing the previous 24Hr view also shows a nearly constant 8%). I'm only using my Linode for development currently and using 'htop' I'm seeing on average <1%. Does anyone know what would account for this 8% CPU I'm seeing on the graph?

Thanks,
Rick


Top
   
 Post subject:
PostPosted: Mon Sep 26, 2011 6:20 am 
Offline
Newbie

Joined: Mon Sep 26, 2011 4:52 am
Posts: 3
It appears it was my cron tasks causing the issue. Although these only cause minor "blips" to the CPU usage and average CPU shown by 'iostat' is approx 1% the Linode Graph must be polling and catching the cron task cpu blip each time. I'm not sure if there's any way to avoid this?


Top
   
 Post subject:
PostPosted: Mon Sep 26, 2011 12:23 pm 
Offline
Senior Member

Joined: Fri Feb 18, 2005 4:09 pm
Posts: 594
RichBB wrote:
It appears it was my cron tasks causing the issue. Although these only cause minor "blips" to the CPU usage and average CPU shown by 'iostat' is approx 1% the Linode Graph must be polling and catching the cron task cpu blip each time. I'm not sure if there's any way to avoid this?


Would you please post the output of

crontab -l

The process names themselves are not particularly important if you want to obscure them for any reason, I really just want to see the timing. You might be able to shift the cron times forward or backward one minute and see what happens as a test.

James


Top
   
 Post subject:
PostPosted: Mon Sep 26, 2011 1:12 pm 
Offline
Newbie

Joined: Mon Sep 26, 2011 4:52 am
Posts: 3
I've been fiddling with the crontab entries to see if I could shift them but had no real effect.

Originally there were 3 entries:
*/1 * * * * cd /home.....
*/1 * * * * cd /home.....
*/3 * * * * cd /home.....

I think one of the differences I was seeing was the % scales. I believe iostat would be 0%-100% whereas from reading other posts the Graph appears to be 0%-400% for the 4 cpu's of the Linode.

After fiddling with my cron jobs my iostat average is now approx 0.6% and the Linode graph is showing approx 2.4% which would be correct if it's 0%-400%

Thanks for the suggestion.


Top
   
 Post subject:
PostPosted: Mon Sep 26, 2011 3:56 pm 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
The first two of your crontab entries are a bit pointless, * and */1 mean the same thing. Your third item will repeat every 3 minutes (20 times an hour).


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


Who is online

Users browsing this forum: No registered users and 3 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