pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: hubert depesz lubaczewski <depesz@depesz.com>
To: Joe Conway <mail@joeconway.com>
Cc: Vijaykumar Jain <vijaykumarjain.github@gmail.com>
Cc: pgsql-general mailing list <pgsql-general@postgresql.org>
Subject: Re: Pg stuck at 100% cpu, for multiple days
Date: Mon, 30 Aug 2021 17:15:55 +0200
Message-ID: <20210830151554.GA9945@depesz.com> (raw)
In-Reply-To: <cb86c11d-9c9d-d7ac-8261-c06fba3a6612@joeconway.com>
References: <20210830134510.GA14443@depesz.com>
	<CAM+6J97H6Rtewz=f-XTAOwronae=szCUN4073Gz3pmKogAcYhA@mail.gmail.com>
	<20210830143621.GA23857@depesz.com>
	<cb86c11d-9c9d-d7ac-8261-c06fba3a6612@joeconway.com>

On Mon, Aug 30, 2021 at 11:04:33AM -0400, Joe Conway wrote:
> src/backend/utils/hash/dynahash.c:1448 is in the middle of a while loop,
> which is apparently not exiting.
> There is no check for interrupts in there and it is a fairly tight loop
> which would explain both symptoms.
> As to how it got that way, I have to assume data corruption or a bug of some
> sort. I would repost the details to hackers for better visibility.

Thanks. Done.

Best regards,

depesz






view thread (6+ messages)

Message-ID: <20210830151554.GA9945@depesz.com>
Permalink:  ../20210830151554.GA9945@depesz.com/
Also on:    postgresql.org/message-id/20210830151554.GA9945@depesz.com

 · 

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: depesz@depesz.com, mail@joeconway.com, vijaykumarjain.github@gmail.com
  Subject: Re: Pg stuck at 100% cpu, for multiple days
  In-Reply-To: <20210830151554.GA9945@depesz.com>
  References: <20210830134510.GA14443@depesz.com> <CAM+6J97H6Rtewz=f-XTAOwronae=szCUN4073Gz3pmKogAcYhA@mail.gmail.com> <20210830143621.GA23857@depesz.com> <cb86c11d-9c9d-d7ac-8261-c06fba3a6612@joeconway.com> <20210830151554.GA9945@depesz.com>

* 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