Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: shared cpu
PostPosted: Thu Jul 17, 2008 9:25 am 
Offline
Senior Member

Joined: Mon May 14, 2007 8:20 am
Posts: 81
Hello.

On a Linode 360 in Newark, I had awful results for the command "uptime" over the last seven hours. Sites located there were pretty slow at times. Can I be 100% sure that the processes responsible for that over consumption of resources are mine? Is it possible that someone else on the same server exceeds its normal usage dragging everybody else?

Thanks


Top
   
 Post subject:
PostPosted: Thu Jul 17, 2008 12:01 pm 
Offline
Senior Newbie

Joined: Sat Jun 21, 2008 9:19 pm
Posts: 5
I have the exact same question. I'm on dallas80 and noticed my sites and ssh were freezing. I checked /proc/loadavg and noticed that it was reporting load average: 1.14, 1.08, 0.60. The CPU graph on the Members area shows that my linode is only using ~2.61% CPU, so I would imagine it is other linodes causing the problem.

I realize a load average of 1.14 is still reasonable. I've seen much higher loads on other VPS providers and they still function reasonably well. I imagine the issue is something else that I'm not noticing. I thought it could be packet loss, but ping shows 0% packet loss.

On a side note, the Host Summary Host Load only shows 'Low'. The only time I saw this before was when the host was creating my new disk image.


Top
   
 Post subject:
PostPosted: Thu Jul 17, 2008 2:48 pm 
Offline
Senior Member

Joined: Mon May 14, 2007 8:20 am
Posts: 81
This is strange because my whole system is now back to normal. I have not changed any thing in terms of set up or codes. I checked the Apache logs and the traffic was as usual. When it was bad, I rebooted the server and the high results given by "uptime" were back right away. Like a bad storm that comes and goes.


Top
   
 Post subject:
PostPosted: Thu Jul 17, 2008 3:36 pm 
Offline
Senior Newbie

Joined: Sun Oct 09, 2005 4:52 pm
Posts: 13
Quote:
On a Linode 360 in Newark, I had awful results for the command "uptime" over the last seven hours. Sites located there were pretty slow at times. Can I be 100% sure that the processes responsible for that over consumption of resources are mine? Is it possible that someone else on the same server exceeds its normal usage dragging everybody else?


Are you on newark21 by any chance?

Our VM on that host was incredible sluggish for about 10 hours last night. Nothing out of the ordinary on our end, but anything that hit the disk took 5-30 seconds to complete. Even though there was nothing running, we saw 5+ loads and lots of IOwait.

I have a ticket in and the Linode guys are looking into it...


Top
   
 Post subject:
PostPosted: Fri Jul 18, 2008 3:58 am 
Offline
Senior Member

Joined: Mon May 14, 2007 8:20 am
Posts: 81
Yes, this is Newark21. Looks like there was something going on.


Top
   
 Post subject:
PostPosted: Fri Jul 18, 2008 12:46 pm 
Offline
Junior Member

Joined: Fri Jun 27, 2008 12:24 am
Posts: 31
I have a node on Newark8 that is running fine but that doesn't mean Newark21 is having problems. As for Dallas80, I have a node on there too and it is running great. Only problem I had was an out of memory condition that was easy to fix.

The load average displayed by uptime and top is for your node only, not the host. This means that if the average is high and your node is sluggish then *you* are the one killing performance.


Top
   
 Post subject:
PostPosted: Fri Jul 18, 2008 12:56 pm 
Offline
Senior Newbie

Joined: Sat Jun 21, 2008 9:19 pm
Posts: 5
SelfishMan wrote:
The load average displayed by uptime and top is for your node only, not the host. This means that if the average is high and your node is sluggish then *you* are the one killing performance.


Thanks for the info. For some reason I couldn't find anything directly related to the high loads from /proc/loadavg. Perhaps it was iowait or something, since top and the linode manager graphs didn't show anything above 3%. I also looked at the IO Rate graphs and didn't notice anything above 200 at the time.

My linode on dallas80 is now running great. The problem only occurred once and hasn't appeared since.

Sorry about going off topic. Should have started a new post for my problems.


Top
   
 Post subject:
PostPosted: Fri Jul 18, 2008 1:03 pm 
Offline
Senior Newbie

Joined: Sun Oct 09, 2005 4:52 pm
Posts: 13
Quote:
The load average displayed by uptime and top is for your node only, not the host. This means that if the average is high and your node is sluggish then *you* are the one killing performance.


That is not necessarily true, as can be evidenced on a physical machine. Let's say:

    Your hard drive begins to fail
    The kernel is repeatedly timing out IO requests and retrying them
    A process (let's say ls) tries to read /home/you
    It blocks until the kernel reads the block
    Another process (now we pick vi) tries to /tmp/lolcats.txt
    That blocks until the kernel finishes with ls and retries the write


If that lasts long enough your load is going to go up to 2. Now most people would agree that 2 is not optimal. I think most people would also say that running ls and vi at the same time is not *me* killing performance. Now add in all the normal IO that happens on a healthy system...

Linode staff was all over this and had an answer to us yesterday: someone on newark21 was thrashing/grinding their disk and it causes any IO access on other VMs to tank. So all of our loads went up.

For posterity, I'll also mention that they are monitoring this sort of thing now to prevent it from becoming a problem in the future. Gotta love Linode, these guys must never sleep!


Top
   
 Post subject:
PostPosted: Fri Jul 18, 2008 2:51 pm 
Offline
Senior Member

Joined: Sat Feb 10, 2007 7:49 pm
Posts: 96
Website: http://www.arbitraryconstant.com/
hippo wrote:
I have the exact same question. I'm on dallas80 and noticed my sites and ssh were freezing. I checked /proc/loadavg and noticed that it was reporting load average: 1.14, 1.08, 0.60. The CPU graph on the Members area shows that my linode is only using ~2.61% CPU, so I would imagine it is other linodes causing the problem.
A common cause for this is someone hammering the disks on that host. The CPU usage won't necessarily reflect this (though it can impact the load average).


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