Performance Degradation and “mysql server has gone away” after 2.8 upgrade
-
I recently upgraded from WordPress 2.7.1 to 2.8 thru the core update (as well as manually twice). After upgrade to 2.8 I noticed that it was taking 60s+ sometimes for wordpress to respond or pages to be displayed in my browser. This was happening on the admin pages as well as on the posts on the site. I noticed that once the page loaded after 60s+, then subsequent requests where completed in normal time (under 10s). This lead me to believe that I was seeing DB connection issues.
I activated the WP Tuner plugin to identify which queries were causing the delays and noticed that init time was the issue and I was getting a lot of “mysql server has gone away” messages.
It seems that the mysql connection is terminating prematurely in my case. Perhaps the changes made in the wp-db.php are conflicting with a plugin I am using. While I have disabled almost all my plugins, I am still seeing the issue. I will disable them all and see what happens.
In the meantime, if anyone else is seeing “mysql server has gone away” on their wordpress 2.8 install please discuss here so that we can identify if we have common plugins or the culprit.
If you are seeing “mysql server has gone away” on a wordpress install PRIOR to 2.8, you may read about a workaround here:
- The topic ‘Performance Degradation and “mysql server has gone away” after 2.8 upgrade’ is closed to new replies.