Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Feb 20, 2012 1:26 pm 
Offline
Senior Newbie

Joined: Thu Dec 01, 2011 8:20 pm
Posts: 7
Hi!

A few times the mysqld service crashes... not too often in fact, but I need to be there to restart it and sometimes Im off the computer and the services do not work until I get home...

Do you have any advices about this "issue"?
Any way to monitor and restart services if they get down, and not consuming too much resources?

Best regards!
luciano


Top
   
 Post subject:
PostPosted: Mon Feb 20, 2012 1:38 pm 
Offline
Senior Member

Joined: Tue May 03, 2011 11:55 am
Posts: 105
Check the MySQL error log to see if you can find out why it is crashing. Most likely it is something like the process using up too much RAM and getting killed by the OS. Do you see lots of swapping going on with your Linode in the manager?
If this is the issue, then you should look at tuning settings in your my.cnf file.


Top
   
 Post subject:
PostPosted: Mon Feb 20, 2012 6:03 pm 
Offline
Senior Member
User avatar

Joined: Sun Jan 18, 2009 2:41 pm
Posts: 830
Monit is a nice lightweight monitoring daemon which will do what you're asking. Chances are good you can simply install it from your distro's repositories. Keep in mind it should not be a substitute for figuring out and fixing whatever is causing MySQL to crash.


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


Who is online

Users browsing this forum: No registered users and 1 guest


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