HI All,
I was hoping someone could help me with an issue i am having.
All the contact forms that sit on sites utilizing MySql databases are running very very slowly, Sometime taking almost 50 - 60 seconds to send.
These are sitting on wordpress (various versions) and opencart. So i know this isn't down to a particular CMS version or a particular plugin. As you can appreciate most people think that the form is broken and click off the form before it's finished.
I have checked the process manager in WHM and the below keeps cropping up. I can kill it off and everything runs ok for a few moments and then it comes back and starts creeping up and up.
Pid Owner Priority CPU % Memory % Command
5258 (Trace) (Kill) mysql 0 10.7 0.3 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --log-error=/var/lib/mysql/domain-removed.xx.xx.err --open-files-limit=3220 --pid-file=/var/lib/mysql/domain-removed.xx.xx.err.pid
I have tried repairing all the databases and they are all ok. Also tried restarting MySql and this again solves the issue for a few moments.
so i checked what process are running and MySql seems rather high:-
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
5258 mysql 15 0 1113m 31m 5328 S 10.8 0.4 3:23.72 mysqld
I have also checked what MySql processes are running but this is getting a rather high above my head as i am pretty new to this.
+-----+----------------+-----------+----------------+----------------+------+--------------------+------------------+
| Id | User | Host | db | Command | Time | State | Info |
+-----+----------------+-----------+----------------+----------------+------+--------------------+------------------+
| 189 | eximstats | localhost | eximstats | Sleep | 133 | | |
| 523 | leechprotect | localhost | leechprotect | Sleep | 824 | | |
| 651 | DELAYED | localhost | eximstats | Delayed insert | 133 | Waiting for INSERT | |
| 683 | xxxxxxxx_wp204 | localhost | xxxxxxxx_wp204 | Sleep | 10 | | |
| 694 | xxxxxxxx_wp811 | localhost | xxxxxxxx_wp811 | Sleep | 0 | | |
| 695 | root | localhost | | Query | 0 | | show processlist |
+-----+----------------+-----------+----------------+----------------+------+--------------------+------------------+
if anyone could help that would be great! I would prefer if you could advise what the issue is and point me in the right direction of some documentation so i can learn whats going on / has happened rather than saying "this is the fix"
thanks
DaveyB
I was hoping someone could help me with an issue i am having.
All the contact forms that sit on sites utilizing MySql databases are running very very slowly, Sometime taking almost 50 - 60 seconds to send.
These are sitting on wordpress (various versions) and opencart. So i know this isn't down to a particular CMS version or a particular plugin. As you can appreciate most people think that the form is broken and click off the form before it's finished.
I have checked the process manager in WHM and the below keeps cropping up. I can kill it off and everything runs ok for a few moments and then it comes back and starts creeping up and up.
Pid Owner Priority CPU % Memory % Command
5258 (Trace) (Kill) mysql 0 10.7 0.3 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --log-error=/var/lib/mysql/domain-removed.xx.xx.err --open-files-limit=3220 --pid-file=/var/lib/mysql/domain-removed.xx.xx.err.pid
I have tried repairing all the databases and they are all ok. Also tried restarting MySql and this again solves the issue for a few moments.
so i checked what process are running and MySql seems rather high:-
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
5258 mysql 15 0 1113m 31m 5328 S 10.8 0.4 3:23.72 mysqld
I have also checked what MySql processes are running but this is getting a rather high above my head as i am pretty new to this.
+-----+----------------+-----------+----------------+----------------+------+--------------------+------------------+
| Id | User | Host | db | Command | Time | State | Info |
+-----+----------------+-----------+----------------+----------------+------+--------------------+------------------+
| 189 | eximstats | localhost | eximstats | Sleep | 133 | | |
| 523 | leechprotect | localhost | leechprotect | Sleep | 824 | | |
| 651 | DELAYED | localhost | eximstats | Delayed insert | 133 | Waiting for INSERT | |
| 683 | xxxxxxxx_wp204 | localhost | xxxxxxxx_wp204 | Sleep | 10 | | |
| 694 | xxxxxxxx_wp811 | localhost | xxxxxxxx_wp811 | Sleep | 0 | | |
| 695 | root | localhost | | Query | 0 | | show processlist |
+-----+----------------+-----------+----------------+----------------+------+--------------------+------------------+
if anyone could help that would be great! I would prefer if you could advise what the issue is and point me in the right direction of some documentation so i can learn whats going on / has happened rather than saying "this is the fix"
thanks
DaveyB