Recently we are encountering a problem where the number of database connections spike all of a sudden, causing the server to exceed the connects limit. We have increased the number of postgres connections to 400 in order to go around this issue for the moment. The connections seems to remain IDLE.
We are looking into the possibility of setting pgBouncer at the moment.
Can somebody provide some recommendations about his issue?
Running Squiz Matrix: 4.18.3
postgres version: 9.3
thanks