pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: James Sewell <james.sewell@jirotech.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: Max connections reached without max connections reached
Date: Tue, 23 Nov 2021 16:10:40 -0800
Message-ID: <866ce56c-1f11-c045-f74e-66ccb341bc31@aklaver.com> (raw)
In-Reply-To: <CAANVwEstrNjVyN1HKcE6vCZWkuKWCz8sRHqEtC6vDeM0zXYesQ@mail.gmail.com>
References: <CAANVwEt-jwj_5axSJ5M9fOJRtW_1iXqBhsnK+Fofc09hhmsZJA@mail.gmail.com>
	<4176160.1637681607@sss.pgh.pa.us>
	<CAANVwEssH43T3qHwk46idFAAeMb4neeOxn+AXjmyQVbirU1=LA@mail.gmail.com>
	<67613.1637709271@sss.pgh.pa.us>
	<CAANVwEstrNjVyN1HKcE6vCZWkuKWCz8sRHqEtC6vDeM0zXYesQ@mail.gmail.com>

On 11/23/21 15:53, James Sewell wrote:

> 
> It's v odd as it happens *sometimes* - having said that it's happening 
> right this moment:
> 
> [enterprisedb@oprpgs001 edb-as-11]$ ps -ef|grep postgres:  | wc -l
> 517
> 
> [enterprisedb@oprpgs001 ~]$ ps -ef|grep postgres: | grep -i start | wc -l
> 480

The enterprisedb is one of their customized versions?

rundeck_cluster below refers to https://digital.ai/technology/rundeck?

> 
> postgres=# select count(*) from pg_stat_activity;
>   count
> -------
>     97
> (1 row)
> 
> postgres=# select * from pg_locks where not granted;
>   locktype | database | relation | page | tuple | virtualxid | 
> transactionid | classid | objid | objsubid | virtualtransaction | pid | 
> mode | granted | fastpath
> ----------+----------+----------+------+-------+------------+---------------+---------+-------+----------+--------------------+-----+------+---------+----------
> (0 rows)
> Logs are showing a stream of:
> 
> 2021-11-24 10:50:58 AEDT [869]: [1-1] 
> user=u_rundeck_rw,db=rundeck_cluster,client=10.154.19.23 
> 10.154.19.23(57122) (0:53300)FATAL:  remaining connection slots are 
> reserved for non-replication superuser connections
> 2021-11-24 10:50:58 AEDT [870]: [1-1] 
> user=u_rundeck_rw,db=rundeck_cluster,client=10.154.19.23 
> 10.154.19.23(57124) (0:53300)FATAL:  remaining connection slots are 
> reserved for non-replication superuser connections
> 2021-11-24 10:50:58 AEDT [871]: [1-1] 
> user=u_rundeck_rw,db=rundeck_cluster,client=10.154.19.23 
> 10.154.19.23(57126) (0:53300)FATAL:  remaining connection slots are 
> reserved for non-replication superuser connections
> 
> James
> 



-- 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (40+ messages)  latest in thread

Message-ID: <866ce56c-1f11-c045-f74e-66ccb341bc31@aklaver.com>
Permalink:  ../866ce56c-1f11-c045-f74e-66ccb341bc31@aklaver.com/
Also on:    postgresql.org/message-id/866ce56c-1f11-c045-f74e-66ccb341bc31@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, james.sewell@jirotech.com, tgl@sss.pgh.pa.us
  Subject: Re: Max connections reached without max connections reached
  In-Reply-To: <866ce56c-1f11-c045-f74e-66ccb341bc31@aklaver.com>
  References: <CAANVwEt-jwj_5axSJ5M9fOJRtW_1iXqBhsnK+Fofc09hhmsZJA@mail.gmail.com> <4176160.1637681607@sss.pgh.pa.us> <CAANVwEssH43T3qHwk46idFAAeMb4neeOxn+AXjmyQVbirU1=LA@mail.gmail.com> <67613.1637709271@sss.pgh.pa.us> <CAANVwEstrNjVyN1HKcE6vCZWkuKWCz8sRHqEtC6vDeM0zXYesQ@mail.gmail.com> <866ce56c-1f11-c045-f74e-66ccb341bc31@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox