pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rui DeSousa <rui@crazybean.net>
To: Andres Freund <andres@anarazel.de>
Cc: Vijaykumar Jain <vjain@opentable.com>
Cc: Scott Ribe <scott_ribe@elevated-dev.com>
Cc: pgsql-admin@lists.postgresql.org <pgsql-admin@lists.postgresql.org>
Subject: Re: [External] standby replication server throws invalid memory alloc request size , does not start up
Date: Thu, 28 Jun 2018 13:40:13 -0400
Message-ID: <269E778E-21FC-4EA4-846D-52C896E38CDB@crazybean.net> (raw)
In-Reply-To: <20180628163642.lg2akxxkyplhxgni@alap3.anarazel.de>
References: <1E4C5445-F307-4AE9-B1B9-C85A38B0D930@opentable.com>
	<8F8408A0-7FEB-4F32-8E76-F7429DA0B481@elevated-dev.com>
	<16835199-C26C-4962-B1BD-3B9766770FAA@opentable.com>
	<3B059AC5-D674-4D97-9E28-6B17A3FF73D4@crazybean.net>
	<20180628163642.lg2akxxkyplhxgni@alap3.anarazel.de>



> On Jun 28, 2018, at 12:36 PM, Andres Freund <andres@anarazel.de> wrote:
> 
> How are you making the inference that that's the problem? It could very
> well be a postgres bug or somebody having used pg_resetxlog or.. ?
> 

Is this to me? Most RAID controllers I’ve seen have been setup with write back for performance and also they also seem to have faulty batteries.

I’m merely stating that the I/O path needs to be validated to insure fsync() actually works — otherwise a power failure will introduce data corruption without doubt.  

We know the event was occurred after a power failure; and that event would not have corrupted Postgres in a properly configured system; thus, pointing to a misconfiguration in the system.



 

view thread (14+ messages)  latest in thread

Message-ID: <269E778E-21FC-4EA4-846D-52C896E38CDB@crazybean.net>
Permalink:  ../269E778E-21FC-4EA4-846D-52C896E38CDB@crazybean.net/
Also on:    postgresql.org/message-id/269E778E-21FC-4EA4-846D-52C896E38CDB@crazybean.net

 · 

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-admin@postgresql.org
  Cc: rui@crazybean.net, andres@anarazel.de, vjain@opentable.com, scott_ribe@elevated-dev.com
  Subject: Re: [External] standby replication server throws invalid memory alloc request size , does not start up
  In-Reply-To: <269E778E-21FC-4EA4-846D-52C896E38CDB@crazybean.net>
  References: <1E4C5445-F307-4AE9-B1B9-C85A38B0D930@opentable.com> <8F8408A0-7FEB-4F32-8E76-F7429DA0B481@elevated-dev.com> <16835199-C26C-4962-B1BD-3B9766770FAA@opentable.com> <3B059AC5-D674-4D97-9E28-6B17A3FF73D4@crazybean.net> <20180628163642.lg2akxxkyplhxgni@alap3.anarazel.de> <269E778E-21FC-4EA4-846D-52C896E38CDB@crazybean.net>

* 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