Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

MySQL Questions / Hanging Problem

Posted on 2011-03-22
3
Medium Priority
?
420 Views
Last Modified: 2012-05-11
I have a MySQL 5.0.45 production server that until very recently was fine. About a week, maybe two, ago, the server has started hanging every day to few days. This is installed on a Windows 2003 Server and when I try to restart the MySQL service, it will not do anything. The only solution is to reboot the entire server.

I am curious if anyone thinks an automated shutdown/reboot of the MySQL service would help this and if so, how would I accomplish that? Otherwise, open to suggestions.
0
Comment
Question by:street9009
  • 2
3 Comments
 
LVL 10

Expert Comment

by:Hutch_77
ID: 35195517
Having never seen this issu directly, I would start looking more directly at te issue.  What is causing it to hang.  anything in event viewer any updates or major additions to the db  My former boss wouldl ove to see me say this but setting up a random restart is a bandaid and doesnt really fix your real problem which could grow.
0
 

Accepted Solution

by:
street9009 earned 0 total points
ID: 35195520
I did check the error log (in the MySQL directory) and the event log and haven't seen anything that jumped out at me. I will take a look again the next time it hangs.

I did find a 12GB regular log file that I'm backing up and getting ready to flush so that may have something to do with it. Not sure though.
0
 

Author Closing Comment

by:street9009
ID: 35711467
It must have been the 12GB log file. Once set up to purge nightly, MySQL stopped hanging.
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
In this article, we’ll look at how to deploy ProxySQL.
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

783 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