Reputation: 2837
I'm getting "too many connections" errors from mysql, and I think that its caused by recurring ajax calls that are hitting a joomla backend page.
I'm wondering, does Joomla make a new mysql connection for each page load, or would it store the connection in the PHP session?
How can I find this out?
Upvotes: 1
Views: 2994
Reputation: 2837
The problem was that joomla was writing the session to a mysql db. Disabling that option resolved the "too many connections" error.
Just to clarify the steps I took in the Joomla admin:
Site > Global Configuration > System > Session Settings
Set Session Settings to None
(or something other than database)
Upvotes: 3