pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
shared buffer hash table corrupted
6+ messages / 3 participants
[nested] [flat]

* shared buffer hash table corrupted
@ 2008-02-19 11:57  Ashish Karalkar <ashish_postgre@yahoo.co.in>
  0 siblings, 0 replies; 6+ messages in thread

From: Ashish Karalkar @ 2008-02-19 11:57 UTC (permalink / raw)
  To: pgsql-general; +Cc: ashish.karalkar@netcore.co.in

<table cellspacing='0' cellpadding='0' border='0' ><tr><td style="font: inherit;"><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><div id="yiv1255013617"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit;">Hello List members<br><br>I have just upgraded the PostgreSQL server from 8.2.4 to 8.3 on Suse 10.3 64 bit.<br><br>While inspecting the log i see this error<br>ERROR: shared buffer hash table corrupted<br><br>Can anybody please help me in getting into details of it?<br><br>With regards<br>Ashish...<br><br></td></tr></tbody></table><br>


      <hr size="1"> Unlimited freedom, unlimited storage. <a rel="nofollow" target="_blank" href="http://in.rd.yahoo.com/tagline_mail_2/*http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-0... it now</a>
</div></blockquote></td></tr></table><br>


      <!--7--><hr size=1></hr> Meet people who discuss and share your passions. <a href="http://in.rd.yahoo.com/tagline_groups_7/*http://in.promos.yahoo.com/groups"; Join them now.</a>



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Shared buffer hash table corrupted
@ 2020-02-21 22:26  Mark Fletcher <markf@corp.groups.io>
  0 siblings, 1 reply; 6+ messages in thread

From: Mark Fletcher @ 2020-02-21 22:26 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org

Hi All,

Running 9.6.15, this morning we got a 'shared buffer hash table corrupted'
error on a query. I reran the query a couple hours later, and it completed
without error. This is running in production on a Linode instance which
hasn't seen any config changes in months.

I didn't find much on-line about this. How concerned should I be? Would you
move the instance to a different physical host?

Thanks,
Mark

^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Shared buffer hash table corrupted
@ 2020-02-21 22:53  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Mark Fletcher <markf@corp.groups.io>
  0 siblings, 1 reply; 6+ messages in thread

From: Tom Lane @ 2020-02-21 22:53 UTC (permalink / raw)
  To: Mark Fletcher <markf@corp.groups.io>; +Cc: pgsql-general@lists.postgresql.org

Mark Fletcher <markf@corp.groups.io> writes:
> Running 9.6.15, this morning we got a 'shared buffer hash table corrupted'
> error on a query. I reran the query a couple hours later, and it completed
> without error. This is running in production on a Linode instance which
> hasn't seen any config changes in months.

> I didn't find much on-line about this. How concerned should I be? Would you
> move the instance to a different physical host?

Personally, I'd restart the postmaster, but not do more than that unless
the error recurs.

			regards, tom lane





^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Shared buffer hash table corrupted
@ 2020-02-22 17:28  Mark Fletcher <markf@corp.groups.io>
  parent: Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 6+ messages in thread

From: Mark Fletcher @ 2020-02-22 17:28 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-general@lists.postgresql.org

On Fri, Feb 21, 2020 at 2:53 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:

>
> Personally, I'd restart the postmaster, but not do more than that unless
> the error recurs.
>

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.

I need to decide what to do next, if anything. We have a hot standby that
we also run queries against, and it hasn't shown any errors. I can switch
over to that as the primary. Or I can move the main database to a different
physical host.

Thoughts appreciated.

Thanks,
Mark

^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Shared buffer hash table corrupted
@ 2020-02-22 17:34  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Mark Fletcher <markf@corp.groups.io>
  0 siblings, 1 reply; 6+ messages in thread

From: Tom Lane @ 2020-02-22 17:34 UTC (permalink / raw)
  To: Mark Fletcher <markf@corp.groups.io>; +Cc: pgsql-general@lists.postgresql.org

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





^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Shared buffer hash table corrupted
@ 2020-02-22 17:44  Mark Fletcher <markf@corp.groups.io>
  parent: Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Mark Fletcher @ 2020-02-22 17:44 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-general@lists.postgresql.org

On Sat, Feb 22, 2020 at 9:34 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:

>
> 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?
>
> Yes, it appears that Linode uses ECC and other server grade hardware for
their machines.

Thanks,
Mark

^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2020-02-22 17:44 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2008-02-19 11:57 shared buffer hash table corrupted Ashish Karalkar <ashish_postgre@yahoo.co.in>
2020-02-21 22:26 Shared buffer hash table corrupted Mark Fletcher <markf@corp.groups.io>
2020-02-21 22:53 ` Re: Shared buffer hash table corrupted Tom Lane <tgl@sss.pgh.pa.us>
2020-02-22 17:28   ` Re: Shared buffer hash table corrupted Mark Fletcher <markf@corp.groups.io>
2020-02-22 17:34     ` Re: Shared buffer hash table corrupted Tom Lane <tgl@sss.pgh.pa.us>
2020-02-22 17:44       ` Re: Shared buffer hash table corrupted Mark Fletcher <markf@corp.groups.io>

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