Re: ERROR: could not attach to dynamic shared area

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Andrew Longwill <andrew(at)busuu(dot)com>
Cc: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: ERROR: could not attach to dynamic shared area
Date: 2024-06-27 03:51:31
Message-ID: Znzhw5tn3PVaU3aE@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Jun 26, 2024 at 02:43:30PM +0000, Andrew Longwill wrote:
> We’re using Postgresql 15.4 in AWS RDS. Since yesterday we have seen
> two occurrences where our PHP application becomes unable to connect
> to our RDS replicas. In the application logs we see the error
> "FATAL: could not attach to dynamic shared area". The RDS replica
> remains unusable in this state unless it’s rebooted.

I suspect that you have been hit with this issue:
https://www.postgresql.org/message-id/CAO6_XqqJbJBL=M7Ym13TcB4Xnq58vRa2jcC+gwEPBgbAda6B1Q@mail.gmail.com

A fix has been committed for it today by me down to v15. This will
show up in the next round of minor releases.
--
Michael

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Kashif Zeeshan 2024-06-27 04:19:45 Re: --frokbackend process
Previous Message Kashif Zeeshan 2024-06-27 03:47:41 Re: Dropping connections