Re: PG 11.8 > PG 12.3 : Unable to allocate section memory

From: "JOIGNY Michael (at)Neteven" <mjoigny(at)neteven(dot)com>
To: MichaelDBA <MichaelDBA(at)sqlexec(dot)com>, tgl(at)sss(dot)pgh(dot)pa(dot)us
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: PG 11.8 > PG 12.3 : Unable to allocate section memory
Date: 2020-08-12 14:54:07
Message-ID: 1d659a5c-9b10-c92a-c901-e61aa1a0bcdc@neteven.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi Michael, Tom,

Thanks for your help.

Le 12/08/2020 à 16:26, MichaelDBA a écrit :
> Please specify some other stuff:
>
> 1. PG onprem or cloud? If cloud, which one and what instance type.
Onprem
> 2. Is it a dedicated PG host?  How many hyper threads and memory do
> you have?
Yes dedicated PG host, 56 hyper threads and 380Go of memory.
> 3. Does PGBouncer run on another host or on the same host as PG?

I have a primary / stanby configuration using repmgr for replication.

PGbouncer is running on both of them.

@Tom, thanks i will have a look at this parameter.

"One thing that you might not have noticed is that "jit" defaults to on
as of v12. Turning it off would prevent this specific crash case. (The
fact that it's a crash comes from llvm's crummy error handling :-() You
might still have OOM problems, but with luck they'd not take down the
whole database."

Regards.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message MichaelDBA 2020-08-12 15:56:08 Re: PG 11.8 > PG 12.3 : Unable to allocate section memory
Previous Message Tom Lane 2020-08-12 14:41:15 Re: PG 11.8 > PG 12.3 : Unable to allocate section memory