pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Karsten Hilbert <Karsten.Hilbert@gmx.net>
Cc: Matthias Apitz <guru@unixarea.de>
Cc: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: client waits for end of update operation and server proc is idle
Date: Sun, 25 Apr 2021 14:13:36 -0400
Message-ID: <2004841.1619374416@sss.pgh.pa.us> (raw)
In-Reply-To: <YIWvYagC9ouhFRLB@hermes.hilbert.loc>
References: <YIKCCXcEozx9iiBU@c720-r368166.fritz.box>
	<0551daad25ee518071e002ca17c4b6dac08a236c.camel@cybertec.at>
	<YIKUEg8Eo0DchREa@c720-r368166.fritz.box>
	<YIVYich/4L12jk3a@c720-r368166.fritz.box>
	<YIWM0LlZF0mwlemB@c720-r368166.fritz.box>
	<1935464.1619365905@sss.pgh.pa.us>
	<YIWTR90ZsmItq31K@c720-r368166.fritz.box>
	<2002577.1619371285@sss.pgh.pa.us>
	<YIWvYagC9ouhFRLB@hermes.hilbert.loc>

Karsten Hilbert <Karsten.Hilbert@gmx.net> writes:
> Am Sun, Apr 25, 2021 at 01:21:25PM -0400 schrieb Tom Lane:
>> Still, the apparent message length is then "RP-2" (0x52502d32)
>> which is bigger than 1GB so I don't quite understand why you didn't
>> get an "out of memory" error.

> But he did, didn't he ?

Those log messages do appear to match the theory, but in the case at
hand, the server seems to have hung up without throwing any error.

However, we'd reproduce that if the apparent "message length" was
less than 1GB (assuming the server process could malloc that much
memory).  That'd occur for any second byte less than 0x40, such
as an ASCII digit.

			regards, tom lane





view thread (14+ messages)  latest in thread

Message-ID: <2004841.1619374416@sss.pgh.pa.us>
Permalink:  ../2004841.1619374416@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2004841.1619374416@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, Karsten.Hilbert@gmx.net, guru@unixarea.de, laurenz.albe@cybertec.at
  Subject: Re: client waits for end of update operation and server proc is idle
  In-Reply-To: <2004841.1619374416@sss.pgh.pa.us>
  References: <YIKCCXcEozx9iiBU@c720-r368166.fritz.box> <0551daad25ee518071e002ca17c4b6dac08a236c.camel@cybertec.at> <YIKUEg8Eo0DchREa@c720-r368166.fritz.box> <YIVYich/4L12jk3a@c720-r368166.fritz.box> <YIWM0LlZF0mwlemB@c720-r368166.fritz.box> <1935464.1619365905@sss.pgh.pa.us> <YIWTR90ZsmItq31K@c720-r368166.fritz.box> <2002577.1619371285@sss.pgh.pa.us> <YIWvYagC9ouhFRLB@hermes.hilbert.loc> <2004841.1619374416@sss.pgh.pa.us>

* 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