Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

MySQL Questions / Hanging Problem

Posted on 2011-03-22
3
Medium Priority
?
419 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
[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
  • 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

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

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

Containers like Docker and Rocket are getting more popular every day. In my conversations with customers, they consistently ask what containers are and how they can use them in their environment. If you’re as curious as most people, read on. . .
In this article, we’ll look at how to deploy ProxySQL.
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…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

715 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