Page 1 of 1

max_user_connections value exceed

Posted: Tue Sep 09, 2014 12:23 pm
by AstFreelancer
I often get an error message that max_user_connections value (50) exceed. There are 50-70 visits a day on my site. I closed access for a number of bots, turned on a caching. I probably have a lot of open connections that are not closing on time.
On my site there is a component, which I wrote myself. Maybe the problem is in it. I tried to replace this code

Code: Select all

$db = &JFactory::getDBO();
...
to this:

Code: Select all

$db = &JFactory::getDBO();
...
$db->__destruct();
But then I had problems with the work of Joomla core functions.
I have no more ideas. What should I to do?

Re: max_user_connections value exceed

Posted: Wed Sep 17, 2014 8:35 pm
by H13
Hi, maybe this is really not good advice, but you should ask your webhosting provider if he/she has more detailed information about the problem (e.g. access, etc. :idea: )

Jan

Re: max_user_connections value exceed

Posted: Thu Sep 18, 2014 8:27 pm
by RedEye
AstFreelancer wrote:I have no more ideas. What should I to do?
You can do nothing, unless you're the server admin. Like Jan wrote, contact your provider to get this fixed, 50 really is a bit low.