Resque Mysql2::Error: User has exceeded the 'max_user_connections' resource (current value: 10)

后端 未结 1 711
攒了一身酷
攒了一身酷 2021-01-03 09:08

I am running Resque on Heroku, and my database is ClearDB. I am getting this error:

\"Mysql2::Error: User \'bdb2aedbee2c38\' has exceeded the \'max_user_connections\

相关标签:
1条回答
  • 2021-01-03 09:32

    Your application server dynos or Resque workers are consuming more connections than your database plan provides.

    You have two options:

    • Scale up your database by upgrading to a higher ClearDB plan (http://dashboard.heroku.com)
    • Scale down your application by reducing the number of dynos/workers (heroku ps:scale command)

    The first link when I googled your addons links to the page describing the service and pricing tiers. You are on the free, 10 connection tier.

    https://addons.heroku.com/cleardb

    0 讨论(0)
提交回复
热议问题