public inbox for [email protected]  
help / color / mirror / Atom feed
From: Soni M <[email protected]>
To: [email protected]
Subject: Logical Replication 08P01 invalid memory alloc request size 1095736448
Date: Sun, 6 Jul 2025 16:40:55 +0700
Message-ID: <CAAMgDXkrDTZwo3v=vcGd0=axjEg9BV09LL=f2+n=DShFBmAV9Q@mail.gmail.com> (raw)

Hello All,
we have this set up :
Postgres 15.13 on RHEL 9.6

Logical Master also have 2 streaming replica
Logical Replica also have 1 streaming replica

We just do patch updates from 15.12 to 15.13, restart Logical Master and
then Logical Replica, and suddenly Logical replication stops working.
Streaming replication of both are fine.

The message on Logical Replica :
ERROR,08P01,"could not receive data from WAL stream: ERROR:  invalid memory
alloc request size 1095736448",,,,,,,,,"","logical replication worker",,0

The message on Logical Master :
"START_REPLICATION", LOG,00000,"starting logical decoding for slot
""_subscription""","Streaming transactions committing after 33D45/373C2D98,
reading WAL from 33D44/EF3219B0.",,,,,"START_REPLICATION SLOT
""_subscription"" LOGICAL 33D45/373C2D98 (proto_version '3',
publication_names '""_publication""')",,,"_subscription","walsender",,0

"START_REPLICATION", ,LOG,00000,"logical decoding found consistent point at
33D44/EF3219B0","Logical decoding will begin using saved
snapshot.",,,,,"START_REPLICATION SLOT ""_subscription"" LOGICAL
33D45/373C2D98 (proto_version '3', publication_names
'""_publication""')",,,"_subscription","walsender",,0

Checking at error code 08P01 is protocol_violation.

Is there any idea on what causing this and how to resolve ?

-- 
Regards,

Soni Maula Harriz


view thread (3+ messages)  latest in thread

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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: Logical Replication 08P01 invalid memory alloc request size 1095736448
  In-Reply-To: <CAAMgDXkrDTZwo3v=vcGd0=axjEg9BV09LL=f2+n=DShFBmAV9Q@mail.gmail.com>

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

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