Mr. Jinx
Well-known member
Lately I'm getting these max_user_connections exceeded messages from MySQL.
I asked my hosting provider if they could raise the limit.
However, they told me that only in very rare situations you would need 30+ connections.
Even for extremely busy sites, 30 should be more than enough.
Most times, this error means something is going wrong.
They had a few suggestions:
I asked my hosting provider if they could raise the limit.
However, they told me that only in very rare situations you would need 30+ connections.
Even for extremely busy sites, 30 should be more than enough.
Most times, this error means something is going wrong.
They had a few suggestions:
- Make more use of Redis cache. Currently only 2 MB is used from the 256 MB cache available.
Is 2 MB usage normal for XF? Using all of Xon's Redis optimization add-ons. - Check for MyISAM tables and convert to InnoDB. I think this is already the case.
- Check for long queries. I'm not sure how to do this. Can I check this for a certain time, when the error happens?