Exceeded max_user_connections when viewing Jetpack Dashboard
-
Whenever I visit Jetpack’s dashboard, two things happen:
1. The Site Stats would not load. Javascript console on my browser shows multiple lines of:
[Error] Failed to load resource: the server responded with a status of 500 () (index.php, line 0)
2. The following error will be logged in my debug log, causing “error establishing a database connection” for several seconds.
PHP Warning: mysqli_real_connect(): (HY000/1226): User 'mydatabaseusername' has exceeded the 'max_user_connections' resource (current value: 15)
I’m running a WooCommerce website with Litespeed Cache plugin installed on Hostinger shared hosting.
What I have done:
1. Created a staging site and disabled all plugins except Jetpack.
2. Changed the theme to Twenty Twenty One (default)
3. Replicate the error by visiting Jetpack’s dashboard, and the error persist (same errors logged in debug log).
4. Activated Query Monitor to check the queries initiated. Do not see any queries from deactivated plugins, most queries are from Jetpack.I have also logged in to phpMyadmin, reload the Jetpack dashboard page, and quickly run “show processlist”. I see 15 (max user connections set by my web host) lines of process, all of them in “Sleep” state. They are gone in a couple of seconds.
On my Live WooCommerce site, “max_user_connections” errors occur intermittently throughout the day when there’s activities, sometimes right after someone made an order, but not every single time. I am also using the WooCommerce iOS app (hence the need of Jetpack) if that’s relevant.
I also see occasional instance of “WordPress database error Commands out of sync” being logged on my Live website, but not on the staging site.
Any guidance is much appreciated.
- The topic ‘Exceeded max_user_connections when viewing Jetpack Dashboard’ is closed to new replies.