Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Why does my MySQL instance crash for no good reason?

Posted on 2014-02-13
1
Medium Priority
?
304 Views
Last Modified: 2014-02-19
I've got a lot of ETL reading and writing to my DB all day, every day.  It runs quickly but about 1x per day, MySQL just crashes.  I just restart it when I notice, but then my ETL is backlogged.  I've added a scheduled 'net start mysql' that repeats every 5 minutes on Task Scheduler, but that's a bandaid, not a fix.  

If I check the *.err file at C:\Program Files\MySQL\MySQL Server 5.5\data, I don't see much of use in there.  It'll say "InnoDB: Database was not shut down normally!" but that's it.  

My guess is that these crashes happen because of highly concurrent reads/writes and also some nasty Select queries that are called by a script on Windows scheduler every now and then.

How can I go about getting a better clue of what causes the mysql service to just stop?  Are there any settings in the options file can look at / adjust to help avoid crashes?
0
Comment
Question by:ducky801
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 80

Accepted Solution

by:
arnold earned 2000 total points
ID: 39859434
To determine the cause you need to monitor its memory use.
Look at the error log.
Look at the system event log to make sure windows isn't shutting it down because it is trying to get too many resources or it transgresses application boundaries.
If you do not already have phpmyadmin installed on your web server through which you can access the mysql stats and get a report that may help in resolving your issue.

I doubt the inserts/writes are the cause.  Do you have reports queries ran on/against the mysql and that is when those crashes are commonly seen?
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As a database administrator, you may need to audit your table(s) to determine whether the data types are optimal for your real-world data needs.  This Article is intended to be a resource for such a task. Preface The other day, I was involved …
This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question