Max_user_connection on shared server

Hi. I would like please if you can help me. I have my Owncloud installation on mochahost on a shared server. Lately I receive the error “max_user_connections” to my mysql database. According to mocha support, this is an application level error, it is not a server problem. Did someone go through that? Thanks!!

Do you know what your current limit is? How many users are using your instance?

I’m sorry but I don’t have much hope for you. Because the only two options I see for this problem are:

  1. Increase limit on hoster
  2. Optimize ownCloud code to use fewer MySQL connections.

The amount of MySQL connections your ownCloud instance is using depends on its utilization. The more user connections the more MySQL connections. In the end the only option will be to upgrade your hosting environment.

1 Like