Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: CPU spike / Linode Crash
PostPosted: Sat Feb 28, 2009 2:28 am 
Offline
Junior Member

Joined: Wed May 21, 2008 5:34 am
Posts: 46
Website: http://www.eve-razor.com/forum
Location: Austin, Tx
Hello All,

This is the second time this has happened to my server in the past month and I'm starting to wonder if its something to do with my server config.

Server is a 720 running a medium loaded php/mysql website / Nagios / Teamspeak 2 server.

From what little logs there are and user reports there was only about 30 people on TS during the time, but that uses next to no memory as is.

Memory:
Image

CPU:
Image

VMstats:
Image

Mysql Thread:
Image

It looks like my mysql server went through the roof causing all active memory to be sucked up causing swap to fill up until the OOM killer diced the server. But I can't find or don't know where to look to verify that.

Suggestions?


Top
   
PostPosted: Sat Feb 28, 2009 8:58 am 
Offline
Senior Newbie

Joined: Tue May 20, 2008 10:33 am
Posts: 17
MrRx7 wrote:
It looks like my mysql server went through the roof causing all active memory to be sucked up causing swap to fill up until the OOM killer diced the server. But I can't find or don't know where to look to verify that.


One would imagine that mysql was being called by another process, ie apache/php.

Check the logs of your website to see if it started getting a heap of traffic coinciding with mysql going through the roof.

You might like to ensure that mysql has some sensible limits placed on it so it can't use all the memory of your Linode.


Top
   
PostPosted: Sat Feb 28, 2009 11:27 am 
Offline
Junior Member

Joined: Wed May 21, 2008 5:34 am
Posts: 46
Website: http://www.eve-razor.com/forum
Location: Austin, Tx
josephb wrote:
MrRx7 wrote:
It looks like my mysql server went through the roof causing all active memory to be sucked up causing swap to fill up until the OOM killer diced the server. But I can't find or don't know where to look to verify that.


One would imagine that mysql was being called by another process, ie apache/php.

Check the logs of your website to see if it started getting a heap of traffic coinciding with mysql going through the roof.

You might like to ensure that mysql has some sensible limits placed on it so it can't use all the memory of your Linode.


I looked at yesterday access logs and they looked normal, no odd spikes or anything

I have mysql configured to use a max of 370mb with apache limited to 150. I suppose I will keep looking.


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