0FATAL: too many connections for database - Mailing list pgsql-novice

From Pagett, Lacey
Subject 0FATAL: too many connections for database
Date
Msg-id 9E6C96FBDE336C419E308685558BAB3F4962A438FE@BCMSG03.hrbinc.hrblock.net
Whole thread Raw
Responses Re: 0FATAL: too many connections for database
List pgsql-novice

Hi All,

 

We are currently seeing "FATAL: too many connections for database error" in the $PG_DATA/pg_log.

However, pg_stat_activity shows 50 connections with max_connections set to 800 in postgresql.conf and the role connection limit in pg_roles for all users is unlimited (-1).

 

Any ideas what could cause the error when connections seem to be available?

 

Thanks for any suggestions!

 

Lacey

 

 

 

 

 

pgsql-novice by date:

Previous
From: Sergey Konoplev
Date:
Subject: Re: Master-slave failover question
Next
From: Jim Mlodgenski
Date:
Subject: Re: 0FATAL: too many connections for database