Tuesday, November 5, 2013

HOSTGATOR hosting! issues... They will shutdown you're websites with no for warning

I created a few wordpress sites and there was a process that was stuck and I got an email from Hostgator with the following notice:

Hello, 

This message is to advise you of a temporary block placed on your database. The database was found to be consuming an inordinate amount of processor time, to the point of degrading overall system performance. While we do limit each account to no more than 25% of a system's CPU in our terms of service, we do not actively disable accounts until they greatly exceed that number, which is what happened in this case. Requests to this database may become degraded by limiting the maximum number of queries or connections for a limited amount of time, or if there are sustained issues, ultimately we may be forced to block access to this database until the issue has been resolved. 

Resolving this situation may be as simple as adding additional indexes to your database, optimizing the queries used, or something equally easy. If not, it may simply be a matter of moving this database to dedicated services, as it may have outgrown a shared environment. 

If you believe you have a solution to this overuse, we are happy to discuss the situation with you and possibly reinstate the database on the server. Otherwise, we will be happy to assist you with the upgrade process if a dedicated server is the most appropriate solution. Thank you, and we look forward to hearing from you shortly. 

~~~ 
Excessive MySQL activity is caused by (a) a long-running process that locks a table, causing other queries to back up, (b) a query that is not optimized ][example: select all from ... and involving a large or complex query], (c) huge table copies/maintenance during peak hours. 

NOTE:, the following are just possible fixes or suggestions, and are not endorsed or supported by HostGator. They are included in the hope that they may apply to your situation, and/or help you reduce the amount of resources your SQL queries consume. As always, it's best to backup any data before making any changes or adjustments. 

First and foremost, you may need to optimize your tables. The frequency depends on the size and usage of the database, but most databases would benefit from doing something like this on a yearly basis: a) Enter your phpMyAdmin/MySQL control panel. Click on the database (not the table, the database name), and on the right hand column your tables should be listed. Scroll down till you see the .Check all. link. Click on that link, make sure all database tables are checked and then from the drop-down next to it, and carefully select .Optimize table..

Additionally, adding indexes to your table(s) may improve performance. If you're not sure what you're doing, it's best not to modify any table; caution is recommended. There are various articles (http://www.developer.com/db/article.php/3667831/Four-Ways-to-Optimize-Your-MySQL-Database.htm and http://www.databasejournal.com/features/mysql/article.php/1382791/Optimizing-MySQL-Queries-and-Indexes.htm). It may be best to Google for something like [Your Software Name] MySQL indexes for suggestions. 

If you reply back to this with your IP address (http://www.hostgator.com/ip.shtml) we will be more than happy to go ahead enable HTTP access for you, so that you can safely work on the script without it causing further issues. Please let us know how you would like to proceed. 



And few minutes later all my websites are down! It has been over 24hrs since I have requested access back to my sites so I can install updates, some plugins to cache, and optimize the SQL database

Instead at the current time all I get is this:


Error establishing a database connection

I'm still wasting to come back up but this is a forewarning for anyone that was planning to host Wordpress on Hostgator! 

I only have a shared server account a dedicated server is way to expensive! let me know if anyone recommends a be
tter solution. 

3 comments:

  1. Update: I contacted someone on Chat they have now allowed me access by whitelisting my IP to my domains however they are still not online for the world to see.

    At this point im performing the following TASKS

    Upgrading All Websites to Wordpress 3.7.1
    Upgrading All Plugins
    Upgrading All Themes
    setting up the Akismet Plugin (prevent spam)
    setting up the reCaptcha Plugin (prevent spammers form posting)
    setting up the Optamize Database Plugin (running it)
    setting up the Botnet Attack Plugin (prevent login attacks)
    Turning off the email me when someone posts option

    I think that should secure the sites please bring all my sites back online thank you!

    ReplyDelete
  2. This is how my chat went after WAITING 30 Minutes for someone to come online:

    Chat ID: 9222735. Question: I completed the requested tasks please bring my sites back online thank you! ticket#26050888
    (4:31:13pm)System:Customer has entered chat and is waiting for an agent.
    (4:44:42pm)Jason N.:Welcome to HostGator Live Chat, my name is Jason, how can I be of assistance today?
    (4:45:22pm)Juan:I want my sites back online I upgraded to 3.7.1 as requested and also optimized the database tables
    (4:45:34pm)Juan:ticket#26050888
    (4:47:16pm)Jason N.:For security purposes, I will need to verify your identity by having you provide your account's billing credentials in the popup that will soon follow this message. I apologize for any inconvenience this may cause.
    (4:47:42pm)System:Thank you for verifying your billing account amonegro@gmail.com!
    (4:47:55pm)Juan:ok
    (4:50:21pm)Juan:are you still there?
    (4:50:43pm)Jason N.:Thank you for that. All you will want to do, once the requested information has been updated is reply to the ticket with what was accomplished. This will then be reviewed by an administrator an you will receive an update via email.
    (4:51:21pm)Juan:I ALREADY DID THAT AND REPLAYED HOURS AGO! DID YOU EVEN LOOK AT THE TCIKET?
    (4:52:17pm)Jason N.:Perfect, I do see that the ticket has been replied to. This will simply be accessed in the order it was received.
    (4:52:56pm)Juan:it has been over 4 hours
    (4:53:50pm)Juan:please don't make me go to message boards and report that you guys have taken me sites down for over 24 hours and will not get this matter resolved even after I did my part!
    (4:53:50pm)Jason N.:Once this has been reviewed you will receive email confirmation from the administrator.
    (4:54:03pm)Juan:This chat will be posted
    (4:54:35pm)Juan:I waited in chat for 30 minutes for you to tell me this that's an unfair treatment of your clients
    (4:55:26pm)Jason N.:One moment and I will work on getting this escalated for you.
    (4:55:38pm)Juan:I know its not your fault but you have to understand my frustration and disappointment
    (4:55:54pm)Juan:with HostGator at this point
    (4:57:06pm)Jason N.:I was just able to escalate that issue for you, The ticket ID is of course 26050888 .
    (4:57:35pm)Juan:Thank you Jason
    (4:59:51pm)Jason N.:Your so welcome! Is there anything else I can assist you with?
    (5:03:11pm)Jason N.:Did you have anymore questions?
    (5:04:39pm)Jason N.:This chat will now be terminated due to inactivity. If you need anything else, please start a new live chat session. We would be glad to assist you further. Take care and have a great day!
    (5:04:44pm)System:This chat has ended. Click Rate And Exit to rate the representative and our company!
    (5:04:47pm)System:This chat has ended. Click Rate And Exit to rate the representative and our company!
    (5:04:51pm)System:This chat has ended. Click Rate And Exit to rate the representative and our company!
    (5:04:52pm)System:This chat has ended. Click Rate And Exit to rate the representative and our company!
    (5:04:53pm)System:This chat has ended. Click Rate And Exit to rate the representative and our company!

    ReplyDelete
  3. Wow! Such an amazing and helpful post this is. I really really love it. It's so good and so awesome. I am just amazed. I hope that you continue to do your work like this in the future also web hosting forum

    ReplyDelete

Translate