From: Tom Lane <tgl@sss.pgh.pa.us>
To: Mark Fletcher <markf@corp.groups.io>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Shared buffer hash table corrupted
Date: Sat, 22 Feb 2020 12:34:40 -0500
Message-ID: <28090.1582392880@sss.pgh.pa.us> (raw)
In-Reply-To: <CAEO096qbFGw6Gp6fghQkatfh3+bZJ10PaJdiChCQf+=ex15wNA@mail.gmail.com>
References: <CAEO096pZmEWOq=RtMwtPMcf36SzD1dzd1ATFVfHSXZ5Op_yhWg@mail.gmail.com>
<3851.1582325638@sss.pgh.pa.us>
<CAEO096qbFGw6Gp6fghQkatfh3+bZJ10PaJdiChCQf+=ex15wNA@mail.gmail.com>
Mark Fletcher <markf@corp.groups.io> writes:
> Thanks for the response. I did restart the postmaster yesterday. Earlier
> this morning, a query that normally completes fine started to error out
> with 'invalid memory alloc request size 18446744073709551613'. Needless to
> say our database isn't quite that size. This query was against a table in a
> different database than the one that had the corruption warning yesterday.
> Restarting the postmaster again fixed the problem. For good measure I
> restarted the machine as well.
Um. At that point I'd agree with your concern about developing hardware
problems. Both of these symptoms could be easily explained by dropped
bits in PG's shared memory area. Do you happen to know if the server
has ECC RAM?
regards, tom lane
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, markf@corp.groups.io
Subject: Re: Shared buffer hash table corrupted
In-Reply-To: <28090.1582392880@sss.pgh.pa.us>
References: <CAEO096pZmEWOq=RtMwtPMcf36SzD1dzd1ATFVfHSXZ5Op_yhWg@mail.gmail.com> <3851.1582325638@sss.pgh.pa.us> <CAEO096qbFGw6Gp6fghQkatfh3+bZJ10PaJdiChCQf+=ex15wNA@mail.gmail.com> <28090.1582392880@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