Can no longer create project on a self hosted instance running on docker

Hi everyone,

We are hosting a GitLab instance running docker gitlab-ce-13.4.3 Omnibus version and can no longer create project. This instance has been running successfully for 3-4 months approximately.

Creating a new project leads to an error 500 page.

In /var/log/gitlab/postgresql/current :

FATAL: terminating connection due to idle-in-transaction timeout

In /var/log/gitlab/gitlab-rails/production.log :

ActiveRecord::StatementInvalid (PG::UnableToSend: no connection to the server)

STACKTRACE

gitlab-rake gitlab:check SANITIZE=true shows everything’s running fine.

We’ve also tried to clear cache and restart with gitlab-rake cache:clear .

If I had to guess I would say that things need to be done on postgresql, but I really don’t know where to begin on that.