Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: High CPU/Disk IO => Hang
PostPosted: Sat Mar 21, 2009 5:35 am 
Offline
Newbie

Joined: Fri May 04, 2007 10:39 pm
Posts: 3
Hi. I'm having a problem with my Linode. Sometimes the CPU usage and Disk IO rate goes through the roof - at ~400% and 5,000+ respectively, as seen on my dashboard graphs - and the system hangs. I can't get in through either SSH or LISH, everything is just dead. The only thing I can do is schedule a reboot and wait. This works reliably, though.

This has been going for quite a while now and I have yet to find a solution. In fact, I have no clue what's going on. I've been talking with the support but everything looks fine on their end, so it must be a problem specific to my configuration.

I'm on a 720 running Fedora 8 and as far as I can tell memory isn't a problem. I'm hosting a bunch of web sites for family and friends using Apache/MySQL/PHP (blogs, forums, that kind of stuff) and a few web sites using Tomcat. I've got Postfix, Dovecot, and Mailman running as my e-mail services. There are also a couple of Subversion repositories.

The server isn't normally under much load - in fact, it must spend a lot of time "idling." But sometimes, it goes crazy like I said in the beginning.

So, has anyone had similar problems in the past? Any idea what's going on?

If there's any more information I should post, please let me know.


Top
   
PostPosted: Sat Mar 21, 2009 9:10 am 
Offline
Senior Member
User avatar

Joined: Tue Apr 13, 2004 6:54 pm
Posts: 833
fsa wrote:
Hi. I'm having a problem with my Linode. Sometimes the CPU usage and Disk IO rate goes through the roof - at ~400% and 5,000+ respectively ...

I'm on a 720 running Fedora 8 and as far as I can tell memory isn't a problem. I'm hosting a bunch of web sites for family and friends using Apache/MySQL/PHP (blogs, forums, that kind of stuff) and a few web sites using Tomcat. I've got Postfix, Dovecot, and Mailman running as my e-mail services. There are also a couple of Subversion repositories.


On an older UML build I saw this problem (the kernel had a memory leak; never did get tracked down).

For 99% of people with this problem the application is using too much memory and so the machine starts to swap. The more it swaps the slower it gets until it looks like it's frozen (it's not, it's just spending all of its time swapping pages in and out of memory).

Search around these forums and you'll find many topics on how to tune Apache and MySQL (a common memory hog) to stop it from doing this.

_________________
Rgds
Stephen
(Linux user since kernel version 0.11)


Top
   
PostPosted: Sun Mar 22, 2009 11:56 am 
Offline
Newbie

Joined: Fri May 04, 2007 10:39 pm
Posts: 3
sweh wrote:
On an older UML build I saw this problem (the kernel had a memory leak; never did get tracked down).

For 99% of people with this problem the application is using too much memory and so the machine starts to swap. The more it swaps the slower it gets until it looks like it's frozen (it's not, it's just spending all of its time swapping pages in and out of memory).

Oh, that makes sense. It hadn't occured to me that this could be what was happening.

sweh wrote:
Search around these forums and you'll find many topics on how to tune Apache and MySQL (a common memory hog) to stop it from doing this.

Okay, will do. Thank you very much for your help. :)


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


Who is online

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