Forums

User <> has exceeded the 'max_user_connections' resource (current value: 6)

Hi. 2021-03-08 12:14:14,001 I suddenly began to receive this error on my Django webapp. Never been there before. No code changes this month. Can't open the console for the same reason. Python3.8. No tasks or notebooks.

Update. 2021-03-08 13:14. Everything works fine

What could it be?

It probably means that you have several, simulateneous processes that are all holding on to their database connections and are stuck, refusing to release them. Some part of your code isn't cleaning up its database connections properly.

Yes. Could you tell me are there any regular jobs to clean up incorrectly closed connections?

Idle connections timeout after 5 minutes.