Re: [External] Re: standby replication server throws invalid memory alloc request size , does not start up

From: Vijaykumar Jain <vjain(at)opentable(dot)com>
To: Rui DeSousa <rui(at)crazybean(dot)net>
Cc: Scott Ribe <scott_ribe(at)elevated-dev(dot)com>, "pgsql-admin(at)lists(dot)postgresql(dot)org" <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: [External] Re: standby replication server throws invalid memory alloc request size , does not start up
Date: 2018-06-28 15:18:08
Message-ID: BY2PR0701MB205630FD9DF441564096D144A54F0@BY2PR0701MB2056.namprd07.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Thanks guys.
We are better with backups as we have split the dbs across different availability groups with diff power supply etc.
So it is expected that servers will crash and we need to failover the db onto the other regions avg if required.
but servers crash all the time and we have been asked to make arrangements thinking of that.
So as long as this is a h/w failure i guess there is only one db server getting impacted and we should be good which is good
If this was a pg bug all the nodes would get impacted and we would be in deep waters :)
So thanks.

Regards,
Vijay

________________________________________
From: Rui DeSousa <rui(at)crazybean(dot)net>
Sent: Thursday, June 28, 2018 8:13:16 PM
To: Vijaykumar Jain
Cc: Scott Ribe; pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: [External] Re: standby replication server throws invalid memory alloc request size , does not start up

> On Jun 28, 2018, at 9:47 AM, Vijaykumar Jain <vjain(at)opentable(dot)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.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Andres Freund 2018-06-28 16:36:42 Re: [External] Re: standby replication server throws invalid memory alloc request size , does not start up
Previous Message Rui DeSousa 2018-06-28 14:43:16 Re: [External] Re: standby replication server throws invalid memory alloc request size , does not start up