I use a postgres database. And over the time django accumulates database connections.
In the table of current query statistics appear all the open connections and are similar. But the time is always Just now and the duration increase very slowly.
Some recommendation to prevent this. I doesn’t set up any timeout in my setting data base. May be this will solve the problem?
I have deploy django with gunicorn and I have currently 17 workers.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Click below to sign up and get $100 of credit to try our products over 60 days!