pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tomas Vondra <tomas.vondra@2ndquadrant.com>
To: Andres Freund <andres@anarazel.de>
Cc: Kuntal Ghosh <kuntalghosh.2007@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Amit Kapila <amit.kapila16@gmail.com>
Cc: Noah Misch <noah@leadboat.com>
Cc: Amit Khandekar <amitdkhan.pg@gmail.com>
Cc: Alvaro Herrera from 2ndQuadrant <alvherre@alvh.no-ip.org>
Cc: Juan José Santamaría Flecha <juanjo.santamaria@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Thomas Munro <thomas.munro@gmail.com>
Subject: Re: logical decoding : exceeded maxAllocatedDescs for .spill files
Date: Fri, 7 Feb 2020 20:02:01 +0100
Message-ID: <20200207190143.ilk35qpsc44jj5ic@development> (raw)
In-Reply-To: <20200207183348.t2ulr65d5eueftlf@alap3.anarazel.de>
References: <22498.1578548741@sss.pgh.pa.us>
	<CAA4eK1JitJgbOv-ie3VCXW5A74j-v0b8S55YMunwmkFDZ_4NCg@mail.gmail.com>
	<14739.1578613901@sss.pgh.pa.us>
	<18117.1578616812@sss.pgh.pa.us>
	<20200112033930.6cy3n6ybft6pp7gw@development>
	<29690.1578801237@sss.pgh.pa.us>
	<20200112041008.gddmpqunowlklc24@development>
	<7490.1578802856@sss.pgh.pa.us>
	<CAGz5QCJZpiEiPx7z1tS4BhLbS8j9zJB+0g8Knj+1mn_7en6k8Q@mail.gmail.com>
	<20200207183348.t2ulr65d5eueftlf@alap3.anarazel.de>

On Fri, Feb 07, 2020 at 10:33:48AM -0800, Andres Freund wrote:
>Hi,
>
>On 2020-02-04 10:15:01 +0530, Kuntal Ghosh wrote:
>> And, the issue got reproduced with the same error:
>> WARNING:  problem in Generation Tuples: number of free chunks 0 in
>> block 0x7fe9e9e74010 exceeds 1018 allocated
>
>That seems like a problem in generation.c - because this should be
>unreachable, I think?
>
>Tomas?
>

That's rather strange. How could we print this message? The code looks
like this

   if (block->nfree >= block->nchunks)
     elog(WARNING, "problem in Generation %s: number of free chunks %d in block %p exceeds %d allocated",
          name, block->nfree, block, block->nchunks);

so this says 0 >= 1018. Or am I missing something?


regards

-- 
Tomas Vondra                  http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services





view thread (114+ messages)  latest in thread

Message-ID: <20200207190143.ilk35qpsc44jj5ic@development>
Permalink:  ../20200207190143.ilk35qpsc44jj5ic@development/
Also on:    postgresql.org/message-id/20200207190143.ilk35qpsc44jj5ic@development

 · 

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: pgsql-hackers@postgresql.org
  Cc: tomas.vondra@2ndquadrant.com, andres@anarazel.de, kuntalghosh.2007@gmail.com, tgl@sss.pgh.pa.us, amit.kapila16@gmail.com, noah@leadboat.com, amitdkhan.pg@gmail.com, alvherre@alvh.no-ip.org, juanjo.santamaria@gmail.com, pgsql-hackers@lists.postgresql.org, robertmhaas@gmail.com, thomas.munro@gmail.com
  Subject: Re: logical decoding : exceeded maxAllocatedDescs for .spill files
  In-Reply-To: <20200207190143.ilk35qpsc44jj5ic@development>

* 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