NGG Causing Abnormally High mysql utilization, crashing site
-
Hi, I have had issues with insane spikes in resource utilization taking down my site several times a day due to Apache HTTP going down as a result.
After probably 4-5 months of trying to figure this out, my host has finally narrowed it down to spikes in Mysql utilization caused by only one plugin, NextGen Gallery.
The data is below. Any insight on what this might be and any cure? When I turn off NGG the issue goes away. I have already tried deleting the plugin completely and reinstalling and it does not solve the problem. Running on WP 3.1.2 with the latest NGG, but the issue has preceded the current version.
Any suggestions? Thanks.
Pasted from webhost’s support below:
“Hi,Its the wp plugins causing the problem. While checking the status of sql service, I noticed the following queries.
—
[root@host ~]# mysqladmin proc stat| Id | User | Host | db | Command | Time | State | Info |
| 802 | txmma2 | localhost | test | Query | 123 | removing tmp table | SELECT t.*, tt.* FROM wp_ngg_gallery AS t INNER JOIN wp_ngg_pictures AS tt ON t.gid = tt.galleryid W |
| 829 | txmma2 | localhost | test | Query | 112 | removing tmp table | SELECT t.*, tt.* FROM wp_ngg_gallery AS t INNER JOIN wp_ngg_pictures AS tt ON t.gid = tt.galleryid W |
| 830 | txmma2 | localhost | test | Query | 109 | removing tmp table | SELECT t.*, tt.* FROM wp_ngg_gallery AS t INNER JOIN wp_ngg_pictures AS tt ON t.gid = tt.galleryid W |
| 831 | txmma2 | localhost | test | Query | 100 | removing tmp table | SELECT t.*, tt.* FROM wp_ngg_gallery AS t INNER JOIN wp_ngg_pictures AS tt ON t.gid = tt.galleryid W |
—These queries are generated from plugin nextgen-gallery. Please see the details below.
—
[root@host plugins]# grep -rli ngg_pictures .
./nextgen-gallery/admin/upgrade.php
./nextgen-gallery/admin/install.php
./nextgen-gallery/nggallery.php
[root@host plugins]#
—Can you please disable this plugin and see if that helps?
Thanks,
Pete,
- The topic ‘NGG Causing Abnormally High mysql utilization, crashing site’ is closed to new replies.