Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Fri Nov 05, 2010 10:47 am 
Offline
Senior Member

Joined: Fri Jan 09, 2009 5:32 pm
Posts: 634
In the last week or so, one of my linodes has been repeatedly getting stuck in some kind of iowait loop.

The system is unresponsive, but one of the things I have on it responds to a connection stating that the connection is refused due to high load (33 this time)

I was on the box during one of the occurrences, I ran top, and nothing was using any CPU, it was all in iowait. I left a user logged into the console, and when it just happened now, I couldn't even get w to run to see the current load.

I have apache on this box, but it's very lightly used. It wasn't tuned before, but I went ahead and tuned it just in case.

I'm at a loss trying to troubleshoot this one. Ideas for what I should put in to help trace this?


Top
   
PostPosted: Fri Nov 05, 2010 11:07 am 
Offline
Senior Member

Joined: Wed May 13, 2009 1:18 am
Posts: 681
glg wrote:
I was on the box during one of the occurrences, I ran top, and nothing was using any CPU, it was all in iowait. I left a user logged into the console, and when it just happened now, I couldn't even get w to run to see the current load.

Sounds like you could have been heavily swapping - did you save the top output? If not, the next time it occurs I'd look more towards memory usage than cpu.

An untuned Apache configuration could certainly in theory cause this - even if the box is usually unloaded, a brief spike in traffic that was enough to push your box into swapping due to Apache processes might take a while to clear.

I suppose alternatively it could be that other guests on your host are getting into periods of heavy disk use which in turn is blocking your Linode, but that shouldn't have too much impact if your Linode is lightly loaded unless you're still trying to do a decent amount of I/O yourself.

-- David


Top
   
PostPosted: Fri Nov 05, 2010 11:23 am 
Offline
Senior Member

Joined: Fri Jan 09, 2009 5:32 pm
Posts: 634
db3l wrote:
Sounds like you could have been heavily swapping - did you save the top output? If not, the next time it occurs I'd look more towards memory usage than cpu.


yeah, possibly an OOM situation.

db3l wrote:
An untuned Apache configuration could certainly in theory cause this - even if the box is usually unloaded, a brief spike in traffic that was enough to push your box into swapping due to Apache processes might take a while to clear.


That can be ruled out though, as I did tune apache on Monday and it's happened again.

db3l wrote:
I suppose alternatively it could be that other guests on your host are getting into periods of heavy disk use which in turn is blocking your Linode, but that shouldn't have too much impact if your Linode is lightly loaded unless you're still trying to do a decent amount of I/O yourself.


It could be users. I guess I'm looking for suggestions of something I can look at now or something install that would capture some information later.

I installed munin, but it's not showing anything abnormal other than a gap right when it happened.

Sorry, I did forget to mention one thing. I did upgrade this server from ubuntu 9.10 to 10.04 on 10/22. First occurrence of this lockup was 10/30.


Top
   
 Post subject:
PostPosted: Fri Nov 05, 2010 1:54 pm 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
Can you tell us what else is on the box? i.e. databases? wordpress?etc.

Try running iotop (apt-get install iotop)

Also what kernel are you running? (uname -a)

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
 Post subject:
PostPosted: Fri Nov 05, 2010 2:18 pm 
Offline
Senior Member

Joined: Fri Jan 09, 2009 5:32 pm
Posts: 634
obs wrote:
Can you tell us what else is on the box? i.e. databases? wordpress?etc.


inn2 is the big thing and user shell accounts.

obs wrote:
Try running iotop (apt-get install iotop)

Also what kernel are you running? (uname -a)


installing iotop now, thanks.

The 64-bit latest paravirt:
Linux ftupet 2.6.35.4-x86_64-linode16 #1 SMP Mon Sep 20 16:03:34 UTC 2010 x86_64 GNU/Linux

Just happened again. Here's the upper part of top:
top - 13:07:37 up 3:23, 1 user, load average: 60.59, 57.33, 49.50
Tasks: 247 total, 1 running, 245 sleeping, 0 stopped, 1 zombie
Cpu(s): 0.1%us, 0.0%sy, 0.0%ni, 0.0%id, 99.9%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 504916k total, 459008k used, 45908k free, 27772k buffers
Swap: 524284k total, 3772k used, 520512k free, 128632k cached

Doesn't look like it's swapping much, if at all.

here's iostat:
avg-cpu: %user %nice %system %iowait %steal %idle
0.09 0.15 0.19 29.39 0.03 70.16

Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
xvda 0.67 17.01 1.52 207842 18624
xvdb 0.01 0.06 0.63 768 7680
xvdc 0.16 2.92 0.83 35696 10096
xvdd 4.41 66.78 31.58 816104 385944


Top
   
 Post subject:
PostPosted: Fri Nov 05, 2010 4:06 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
That's not very high. I'd say it's probably trouble ticket time.

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
 Post subject:
PostPosted: Fri Nov 05, 2010 4:47 pm 
Offline
Senior Member

Joined: Fri Jan 09, 2009 5:32 pm
Posts: 634
hoopycat wrote:
That's not very high. I'd say it's probably trouble ticket time.


I opened one, but they looked and said OOM. I think I'll open another.


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