Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Fri May 28, 2010 2:56 pm 
Offline
Newbie

Joined: Wed Feb 24, 2010 3:37 pm
Posts: 4
I'm using a Linode since march 2010 and it works fine but since a week i've got issues with the CPU an Disk IO.

It's a CentOS 5.5 (32Bit) Distribution which runs LAMP and Virtualmin.
I host just 3 simple websites, none of them have that much pageviews to cause this behaviour

I've checked and disabled some of the cronjobs in Webmin(there's none that runs every hour), optimized apache and mysql but nothing seems to work.

Image

Image

I'm not a very advanced Linux User and it's quite frustrating that I can't solve this on my own.
I hoping anyone has a clue to help me solve this issue.


Top
   
 Post subject:
PostPosted: Fri May 28, 2010 5:34 pm 
Offline
Senior Member

Joined: Fri May 02, 2008 8:44 pm
Posts: 1121
Those spikes are rather wide. Whatever's causing it probably runs for at least 10 minutes before it quits. Wait until 5 minutes after the hour, whip out top or htop and see exactly which process is gobbling up the CPU at that time.


Top
   
 Post subject:
PostPosted: Sun May 30, 2010 9:28 am 
Offline
Newbie

Joined: Wed Feb 24, 2010 3:37 pm
Posts: 4
I'm monitoring with htop and the following command uses more than 100% CPU:

/usr/bin/python /usr/bin/yum info


Top
   
 Post subject:
PostPosted: Thu Jun 24, 2010 5:00 pm 
Offline
Senior Newbie

Joined: Fri Jun 18, 2010 1:59 pm
Posts: 12
I've had the same problem, but it seems to be only happening with webmin...


Top
   
 Post subject:
PostPosted: Sun Jun 27, 2010 9:54 pm 
Offline
Senior Newbie

Joined: Fri Jun 18, 2010 1:59 pm
Posts: 12
I think I got the culprit.

There is a process that is ran in webmin, but the way linode interprets it (5 minute average) is a bit misleading when trying to find what is causing these spikes.

Look for a cron job that is running /etc/webmin/virtual-server/collectinfo.pl. It runs this every 5 minutes and what the script does (from what I can understand), is poll every virtual server service and the server itself for updated information that is shown in webmin.

This can cause a huge, but short, load on a low-resource machine. I disabled it and will post the results in an hour.

Edit: After an hour and a few minutes; no more spikes, and average CPU load has decreased to 1-2%. :)


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


Who is online

Users browsing this forum: No registered users and 1 guest


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