pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Justin Pryzby <pryzby@telsasoft.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Andres Freund <andres@anarazel.de>
Cc: pgsql-general@postgresql.org
Subject: Re: backends stuck in "startup"
Date: Sat, 25 Nov 2017 18:53:28 -0600
Message-ID: <20171126005328.GE5668@telsasoft.com> (raw)
In-Reply-To: <5668.1511649959@sss.pgh.pa.us>
References: <20171122012541.GP5668@telsasoft.com>
	<5668.1511649959@sss.pgh.pa.us>

On Sat, Nov 25, 2017 at 05:45:59PM -0500, Tom Lane wrote:
> Justin Pryzby <pryzby@telsasoft.com> writes:
> > We never had any issue during the ~2 years running PG96 on this VM, until
> > upgrading Monday to PG10.1, and we've now hit it 5+ times.
> 
> > BTW this is a VM run on a hypervisor managed by our customer:
> > DMI: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 06/22/2012
> 
> > Linux TS-DB 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
> 
> Actually ... I was focusing on the wrong part of that.  It's not
> your hypervisor, it's your kernel.  Running four-year-old kernels
> is seldom a great idea, and in this case, the one you're using
> contains the well-reported missed-futex-wakeups bug:
> 
> https://bugs.centos.org/view.php?id=8371
> 
> While rebuilding PG so it doesn't use POSIX semaphores will dodge
> that bug, I think a kernel update would be a far better idea.
> There are lots of other known bugs in that version.
> 
> Relevant to our discussion, the fix involves inserting a memory
> barrier into the kernel's futex call handling:

Ouch !  Thanks for the heads up and sorry for the noise.

I'm still trying to coax 3 customers off centos5.x, so the 2 customers left
running centos6.5 weren't on any of my mental lists..

Justin




view thread (22+ messages)

Message-ID: <20171126005328.GE5668@telsasoft.com>
Permalink:  ../20171126005328.GE5668@telsasoft.com/
Also on:    postgresql.org/message-id/20171126005328.GE5668@telsasoft.com

 · 

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-general@postgresql.org
  Cc: pryzby@telsasoft.com, tgl@sss.pgh.pa.us, andres@anarazel.de
  Subject: Re: backends stuck in "startup"
  In-Reply-To: <20171126005328.GE5668@telsasoft.com>
  References: <20171122012541.GP5668@telsasoft.com> <5668.1511649959@sss.pgh.pa.us> <20171126005328.GE5668@telsasoft.com>

* 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