I'm not really sure where to start. I'm not a tech, by any means.
Several weeks ago my site http://passporttofrugal.com started running slow. Also when I would be in edit mode some pages would not load or when hit trash or any button it would come up a blank screen.
I sent in "ticket" to HG and the told me to try a few things. listed below, I did with no difference.
Today they sent me another email which I will enclose because simply I do not have the slightest idea what to do. I told them this and they suggested I contact you.
First email. I tried the suggestions, but still doing the same thing.
We have a couple recommendations to Optimize WordPress sites.
First, try to reduce the total number of active plugins on your sites. The following types of plugins are known to cause high resource usage and should be avoided:
- All related posts plugins (WordPress Related Posts, YARPP) can cause significantly high load in most cases.
- WPRobot3 and other auto-posters can also cause high load issues, and should be disabled if they are causing issues
- StatPress and other WordPress statistics software should also be disabled, as these too can consume too much CPU in certain cases. Use Google Analytics instead for statistics as well as Awstats which already comes by default on your account.
- WP Post Views is also a plugin that you'll want to avoid as it causes significant resource usage.
- Any other plugins that are not vital to your Wordpress should be disabled.
View this link for further tips on optimizing your blog: http://support.hostgator.com/articles/specialized-help/technical/wordpress/optimizing-wordpress
Second, re-configure the plug-in WP-Super-Cache. This plug-in helps to greatly reduce the CPU required to run a WordPress blog and can help you to have more traffic while using less CPU. You can optimize your WordPress installations for use on our servers by following the tips in this article: http://support.hostgator.com/articles/specialized-help/technical/wordpress/wp-super-cache-plugin
Second email (today).
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.
CPU_TIME:77 table_rows_read:315471043 SELECTS:1812 ROWS_UPDATED:1348 ROWS_FETCHED:98235 BUSY_TIME:81 ONNECTED_TIME:433 BYTES_SENT:123905166 BYTES_RECEIVED:1073814 WAIT_TIME:4
Top table row reads:
DB_USER: ptfrugal_wrdp1 -- TOTAL_CONNECTIONS: 394 -- CONNECTED_TIME: 433 -- CPU_TIME: 77 -- TABLE_ROW_READS: 315471043 -- SELECT_COMMANDS: 1812 -- UPDATE_COMMANDS: -- BUSY_TIME: 81 -- BYTES_SENT: 123905166 -- BYTES_RECEIVED: 1073814 -- WAIT_TIME (IO): 4
Top WAIT (IO) TIME:
DB_USER: ptfrugal_wrdp1 -- TOTAL_CONNECTIONS: 394 -- CONNECTED_TIME: 433 -- CPU_TIME: 77 -- TABLE_ROW_READS: 315471043 -- SELECT_COMMANDS: 1812 -- UPDATE_COMMANDS: -- BUSY_TIME: 81 -- BYTES_SENT: 123905166 -- BYTES_RECEIVED: 1073814 -- WAIT_TIME (IO): 4
ptfrugal 22092 0.0 0.0 15856 1540 ? SN Feb27 0:00 imap [ptfrugal@passporttofrugal.com 206.246.29.176]
Thu Feb 28 00:32:51 CST 2013
Running Processes:
ptfrugal 22092 0.0 0.0 15856 1540 ? SN Feb27 0:00 imap [ptfrugal@passporttofrugal.com 206.246.29.176]
Running Queries:
Open connections
Current Site Requests:
184.173.228.135 passporttofrugal.com /week-21-i-nsstrive-to-reach-my-nsnation-goals-at-nutrisyst
206.246.29.176 passporttofrugal.com /wp-admin/edit.php?page=wp-db-backup&_wpnonce=55cd58c837&fr
206.246.29.176 passporttofrugal.com /wp-admin/edit.php?page=wp-db-backup&_wpnonce=55cd58c837&fr
