From: Rui DeSousa <rui@crazybean.net>
To: 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] Re: standby replication server throws invalid memory alloc request size , does not start up
Date: Thu, 28 Jun 2018 10:43:16 -0400
Message-ID: <3B059AC5-D674-4D97-9E28-6B17A3FF73D4@crazybean.net> (raw)
In-Reply-To: <16835199-C26C-4962-B1BD-3B9766770FAA@opentable.com>
References: <1E4C5445-F307-4AE9-B1B9-C85A38B0D930@opentable.com>
<8F8408A0-7FEB-4F32-8E76-F7429DA0B481@elevated-dev.com>
<16835199-C26C-4962-B1BD-3B9766770FAA@opentable.com>
> On Jun 28, 2018, at 9:47 AM, Vijaykumar Jain <vjain@opentable.com> wrote:
>
> Thanks Scott.
>
> fsync is on.
>
> postgres=# show fsync;
> fsync
> -------
> on
> (1 row)
>
Yeah, I agree with Scott; it sounds like fsync() is being shorted somewhere in the I/O path. Are you using a RAID controller; if so is the cache setting — write through or write back? If it’s write back then writes are being cached and a power outage will lead to data corruption — the only saving grace at that point would be the battery backup logic on the controller which may or nay not be trustworthy.
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, vjain@opentable.com, scott_ribe@elevated-dev.com
Subject: Re: [External] Re: standby replication server throws invalid memory alloc request size , does not start up
In-Reply-To: <3B059AC5-D674-4D97-9E28-6B17A3FF73D4@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>
* 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