Quantcast
Channel: WordPress.org Forums » All Posts
Viewing all articles
Browse latest Browse all 134450

Kardesm on "Website ShutDown .. Too many Queryes MySql and High Server load"

$
0
0

Hi, I updated yesterday to WP 3.7.1
And now my web has been suspended.

Plugins Installed:
w3 Total Cache
WP Estore
WP Emember
SlimStats

Membership only website with not too much traffic (30 hits x day)

Did Table Repairs
Did Table Optimization

Log:

This message is to advise you of a block placed on your database. The database associated with the script in "laalmend" was found to be consuming an inordinate amount of mysql connections, to the point of degrading overall system performance. While we do limit each account to no more than 25% of a system's resources in our terms of service, we do not actively disable accounts until they greatly exceed that number, which is what happened in this case.

Resolving this situation may be as simple as modifying the code to to use mysql_connect instead of mysql_pconnect, closing connections sooner, 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.

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/print.php/3667831). It may be best to Google for something like [Your Software Name] MySQL indexes for suggestions.

Running Processes:
laalmend 27383 2.1 0.2 272616 43660 ? RN 13:48 0:01 /usr/bin/php /home/laalmend/public_html/index.php
laalmend 27480 0.9 0.3 310844 49132 ? RN 13:48 0:00 /usr/bin/php /home/laalmend/public_html/index.php
laalmend 27586 0.9 0.2 304180 42532 ? SN 13:48 0:00 /usr/bin/php /home/laalmend/public_html/index.php
laalmend 27609 0.8 0.2 304180 42536 ? SN 13:48 0:00 /usr/bin/php /home/laalmend/public_html/index.php
laalmend 27725 0.8 0.2 304180 42536 ? SN 13:48 0:00 /usr/bin/php /home/laalmend/public_html/index.php
laalmend 27786 0.8 0.2 304180 42536 ? SN 13:48 0:00 /usr/bin/php /home/laalmend/public_html/index.php
laalmend 27893 1.2 0.2 304180 42532 ? SN 13:48 0:00 /usr/bin/php /home/laalmend/public_html/index.php
laalmend 27930 1.2 0.2 304180 42532 ? SN 13:48 0:00 /usr/bin/php /home/laalmend/public_html/index.php
laalmend 28002 0.8 0.2 238644 42460 ? SN 13:48 0:00 /usr/bin/php /home/laalmend/public_html/index.php
laalmend 28003 0.8 0.2 238644 42460 ? SN 13:48 0:00 /usr/bin/php /home/laalmend/public_html/index.php
laalmend 28011 0.7 0.2 238644 42460 ? SN 13:48 0:00 /usr/bin/php /home/laalmend/public_html/index.php
laalmend 28012 0.8 0.2 238644 42460 ? SN 13:48 0:00 /usr/bin/php /home/laalmend/public_html/index.php
laalmend 28723 1.8 0.2 238644 42464 ? SN 13:48 0:00 /usr/bin/php /home/laalmend/public_html/index.php
laalmend 29000 1.8 0.2 304180 42532 ? SN 13:48 0:00 /usr/bin/php /home/laalmend/public_html/index.php
laalmend 29074 1.6 0.2 304180 42536 ? SN 13:48 0:00 /usr/bin/php /home/laalmend/public_html/index.php
laalmend 29176 2.2 0.2 304180 42536 ? SN 13:48 0:00 /usr/bin/php /home/laalmend/public_html/index.php
laalmend 29294 2.2 0.2 238644 42464 ? SN 13:48 0:00 /usr/bin/php /home/laalmend/public_html/index.php
laalmend 29717 5.7 0.4 338544 77068 ? SN 13:49 0:01 /usr/bin/php /home/laalmend/public_html/enlinea/index.php
laalmend 29727 3.7 0.2 309288 47492 ? SN 13:49 0:01 /usr/bin/php /home/laalmend/public_html/enlinea/index.php

Running Queries:
*************************** 1. row ***************************
USER: removed
DB: removed
STATE: Opening tables
TIME: 0
COMMAND: Query
INFO: SELECT option_name, option_value FROM wp_options WHERE autoload = 'yes'
*************************** 2. row ***************************
USER: removed
DB: removed
STATE:
TIME: 26
COMMAND: Sleep
INFO: NULL
*************************** 3. row ***************************
USER: removed
DB: removed
STATE: removing tmp table
TIME: 3
COMMAND: Query
INFO: SELECT t.*, tt.* FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy IN ('category') ORDER BY t.name ASC
*************************** 4. row ***************************
USER: removed
DB: removed
STATE:
TIME: 37
COMMAND: Sleep
INFO: NULL
*************************** 5. row ***************************
USER: removed
DB: removed
STATE:
TIME: 37
COMMAND: Sleep
INFO: NULL
*************************** 6. row ***************************
USER: removed
DB: removed
STATE:
TIME: 43
COMMAND: Sleep
INFO: NULL
*************************** 7. row ***************************
USER: removed
DB: removed
STATE:
TIME: 42
COMMAND: Sleep
INFO: NULL
*************************** 8. row ***************************
USER: removed
DB: removed
STATE:
TIME: 50
COMMAND: Sleep
INFO: NULL
*************************** 9. row ***************************
USER: removed
DB: removed
STATE:
TIME: 67
COMMAND: Sleep
INFO: NULL
*************************** 10. row ***************************
USER: removed
DB: removed
STATE:
TIME: 67
COMMAND: Sleep
INFO: NULL
*************************** 11. row ***************************
USER: removed
DB: removed
STATE:
TIME: 67
COMMAND: Sleep
INFO: NULL
*************************** 12. row ***************************
USER: removed
DB: removed
STATE:
TIME: 67
COMMAND: Sleep
INFO: NULL
*************************** 13. row ***************************
USER: removed
DB: removed
STATE:
TIME: 69
COMMAND: Sleep
INFO: NULL
*************************** 14. row ***************************
USER: removed
DB: removed
STATE:
TIME: 69
COMMAND: Sleep
INFO: NULL
*************************** 15. row ***************************
USER: removed
DB: removed
STATE:
TIME: 74
COMMAND: Sleep
INFO: NULL
*************************** 16. row ***************************
USER: removed
DB: removed
STATE:
TIME: 74
COMMAND: Sleep
INFO: NULL
*************************** 17. row ***************************
USER: removed
DB: removed
STATE:
TIME: 76
COMMAND: Sleep
INFO: NULL
*************************** 18. row ***************************
USER: removed
DB: removed
STATE:
TIME: 77
COMMAND: Sleep
INFO: NULL
*************************** 19. row ***************************
USER: removed
DB: removed
STATE: Opening tables
TIME: 1
COMMAND: Query
INFO: SELECT t.*, tt.* FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy IN ('category') ORDER BY t.name ASC

Open connections
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
php 27586 laalmend *008u IPv4 639470785 0t0 UDP 192.185.82.170:38097->192.185.0.112:53
php 27609 laalmend *008u IPv4 639470785 0t0 UDP 192.185.82.170:38097->192.185.0.112:53

Current Site Requests:
189.153.45.159 laalmendra.com /Images/Test_02.png
189.153.45.159 laalmendra.com /Images/Test_03.png
189.153.45.159 laalmendra.com /Images/Test_04.png
189.153.45.159 laalmendra.com /Images/Test_05.png
189.153.45.159 laalmendra.com /Images/Test_06.png
189.153.45.159 laalmendra.com /Images/Test_06.png
189.153.45.159 laalmendra.com /Images/Test_07.png
189.153.45.159 laalmendra.com /Images/Test_09.png
189.153.45.159 laalmendra.com /Images/Test_09.png
189.153.45.159 laalmendra.com /Images/Test_11.png
189.153.45.159 laalmendra.com /Images/Test_12.png
189.153.45.159 laalmendra.com /Images/Test_15.png
189.153.45.159 laalmendra.com /Images/Test_15.png
189.153.45.159 laalmendra.com /Images/Test_16.png
189.153.45.159 laalmendra.com /Images/Test_16.png
189.153.45.159 laalmendra.com /Images/Test_18.png
189.153.45.159 laalmendra.com /Images/Test_18.png
201.141.240.131 enlinea.laalmendra.com /cheesecake-de-guayaba/skins/default/close.png
201.141.240.131 enlinea.laalmendra.com /cheesecake-de-guayaba/skins/default/close.png
201.141.240.131 enlinea.laalmendra.com /cheesecake-de-guayaba/skins/default/prev.png
201.141.240.131 enlinea.laalmendra.com /cheesecake-de-guayaba/skins/default/prev.png


Viewing all articles
Browse latest Browse all 134450

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>