Solved

MySQL Questions / Hanging Problem

Posted on 2011-03-22
3
415 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
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
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

679 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