![]() |
sql server repeatedly going down - why?
What would cause an sql server to keep going down, usually daily?
Getting frustrated with seeing my sites go down constantly. Host fixes it when I email them, but then the same thing happens the following day. Anyone experience this before? |
Quote:
|
Quote:
Go dedicated. |
Quote:
|
Since it is a shared server, all you can do is your part to keep scripts updated, delete databases you don't use and stuff like that. If this just started happening I would think they would want to figure out who is causing it, so might mention it.
|
What do you mean exactly by going down ? ... is it an error page that says there is to many active connections for the user ? or something else ?
There is several solutions to the problem but it all depends on you answering the above in order to tell you what the correct one is :thumbsup Then I am pretty sure I can help. P.S. I do know some shared hosts have been updating software as of late and know this is throwing up unexpected MySQL problems that did not exist before... Quote:
|
Quote:
On one site where I have phplist installed, it just brings up an error that says the sql server is not running. If I try to reach a blog running wordpress, I'm pretty sure it gives a http error 500 internal server error. There's never any mention of too many connections, etc. They are able to fix it after I email them about it in a few minutes, but I can usually look forward to it going down again sometime the following day. |
Quote:
I would submit to the hun and get 100k hits/30Gigs per day on my shared server with no problem when hosted else where. It depends on the host. You can share a 747 jet and kick ass or you can get a dedicated moped and go no where. This all depends on the host. Phatsevers kicked me off their shared servers when I was doing 1500 hits a day. Go figure bro. |
I had once such kind of problem and it appeared to be that there was not enough ram resources and this was causing system to automatically shut down MySQL. My host added more ram and server monitoring to ensure MySQL will always be up.
|
Sounds like they have it fixed now. Something to do with forgetting to re-enable mysql monitoring after they fixed the original issue that was causing the downtime a week ago. (crosses fingers)
|
That don't sound right to me...
The were able to fix it because in layman's terms they cleared the the list of requests for the user .. user being the the the username used in your site to access the database... The timeout for that to automatic clear is about 8 hours. If you have a lot of say wordpress blogs running then you need to study your header and footer files for your theme you are running and hardcode certain elements like : Title, Keywords, Description, Canonical and anything else that can remain static without having to make a request from the database to look up the results to display.. that will cut down on a load of requests to start with... Also consider using caching for your blogs / sites pages that make use of MySQL P.S. Also see if your host will up the number of requests to say 60 ... I think the default is about 30 ? ... If a combination of all the above does not fix the problem then you really need to get a dedicated server and make additional settings yourself in php.ini |
All times are GMT -7. The time now is 06:34 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123