Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue Aug 16, 2011 12:06 pm 
Offline
Senior Member

Joined: Wed Oct 29, 2003 12:27 pm
Posts: 50
Hi all

My Linode 1024 sometimes stops responding. When it happens, everything stops, i.e., web, ssh, ftp etc. This has happened twice since I did a fresh install of Ubuntu 10.04 LTS. Both times, rebooting from the control panel got it going again.

This is a LAMP server running Drupal and OpenX.

Any ideas on what might be happening? What logs etc should I be looking at for further info?

It happened this morning. It was an hour or so before I knew about it. I guess I need to setup some sort of monitoring. I noticed that when I told it to reboot, the control panel took about 5 minutes to complete which is much longer than normal.

Thanks


Top
   
 Post subject:
PostPosted: Tue Aug 16, 2011 1:27 pm 
Offline
Senior Member

Joined: Wed Oct 29, 2003 12:27 pm
Posts: 50
I don't think I had enough swap space. I've increased it to same as memory size.


Top
   
 Post subject:
PostPosted: Tue Aug 16, 2011 4:31 pm 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
tetranz wrote:
I don't think I had enough swap space. I've increased it to same as memory size.

If your Linode has to use swap for anything other than clearing processes that execute very infrequently out of RAM to make room for more cache, it will slow to a crawl. The symptoms you describe are typical of swap thrashing, where the machine spends all its time moving processes that are actually trying to execute in and out of swap. Check the many threads on this forum for advice on how to tune Apache and MySQL to work within the available RAM. Many default configurations of Apache assume that you have multiple GB of RAM available (as is the case on a physical server) and they need to be altered to work properly on a VPS with limited memory.

_________________
/ Peter


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