RE: Re: Very frequent "Too many clients" eventually crashes postmaster

From: "Abraham, Danny" <danny_abraham(at)bmc(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>, "Abraham, Danny" <danny_abraham(at)bmc(dot)com>
Subject: RE: Re: Very frequent "Too many clients" eventually crashes postmaster
Date: 2020-05-03 14:53:02
Message-ID: f84b96ec7675495d90767b6748492047@phx-exmbprd-01.adprod.bmc.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Will setting max_parallel_workers_per_gather to 0
(In fact, no parallel queries)
Solve this issue?
I can sustain the slowness.
We are on 11.5, and the fix is on 11.6.

-----Original Message-----
From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Sent: Sunday, May 03, 2020 5:37 PM
To: Abraham, Danny <danny_abraham(at)bmc(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: [EXTERNAL] Re: Very frequent "Too many clients" eventually crashes postmaster

"Abraham, Danny" <danny_abraham(at)bmc(dot)com> writes:
> Is there a way to eliminate postmaster crash/core ?
> A surge in short-term connections eventually crashes PG on "no free slots in PMChildFlags array".

Update to a current release, maybe? We fixed a bug with symptoms like that last fall [1].

regards, tom lane

[1] https://urldefense.proofpoint.com/v2/url?u=https-3A__git.postgresql.org_gitweb_-3Fp-3Dpostgresql.git-26a-3Dcommitdiff-26h-3D3887e9455&d=DwIFAg&c=UrUhmHsiTVT5qkaA4d_oSzcamb9hmamiCDMzBAEwC7E&r=rZ6QRG5QsrF-veoN0_ehDrT6IsQzka7-fVfEhCfor3I&m=LoZHLvaRhw48Dvx9n1OtgDV_SA0hse7hNTIl0fZh0RQ&s=u3c5XpUBsGhiPxGk5KFwOO_Aj-ToS4YN4pPBuVVZRGI&e=

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Peter J. Holzer 2020-05-03 16:26:01 Re: How to move a 11.4 cluster to another Linux host, but empty?
Previous Message TalGloz 2020-05-03 14:48:42 Re: Compiling C Extension Functions against PostgreSQL 12