Maximum connection is never reached
--
Prateek Mahajan
McCombs School of Business | Business Honors and Finance
Cockrell School of Engineering | Mechanical Engineering
The University of Texas at Austin
(832) 420-2622 | prateekm99@xxxxxxxxx
On Fri, Jun 30, 2017 at 3:46 PM, Brian Farrell <brian.farrell@xxxxxx> wrote:
Have you checked to see if you're bumping up against the max_connections limit? https://www.postgresql.org/docs/current/static/ runtime-config-connection. html#GUC-MAX-CONNECTIONS -BrianOn Fri, Jun 30, 2017 at 4:39 PM, Prateek Mahajan <prateekm99@xxxxxxxxx> wrote:We have a recurring problem where Postgres will not allow any new connections. Any connection already made keeps working fine. Every time this happens, we also have one suspended postgres.exe process that can not be cancelled. Also, we get the following error in the logs every minute: ‘WARNING: worker took too long to start; canceled’.
We’re using Postgres 9.5 on Windows Server 2012 R2. Our original hypothesis was that there was something wrong with the autovac settings, but we copied the settings over from our other server that does not have this problem and still continue to have problem.
--Brian FarrellProject AssociateCenter for Geospatial Information Technology