Re: "could not reattach to shared memory" on buildfarm member dory

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Stephen Frost <sfrost(at)snowman(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: "could not reattach to shared memory" on buildfarm member dory
Date: 2018-04-24 07:18:18
Message-ID: CABUevExKo=yM_2KsMZfFh2JHY1zZ0cKK9PvKAfv=DUS_ia7_Bg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Apr 24, 2018 at 1:18 AM, Stephen Frost <sfrost(at)snowman(dot)net> wrote:

> Greetings,
>
> * Tom Lane (tgl(at)sss(dot)pgh(dot)pa(dot)us) wrote:
> > So far, dory has failed three times with essentially identical symptoms:
> >
> > 2018-04-23 19:57:10.624 GMT [2240] FATAL: could not reattach to shared
> memory (key=0000000000000190, addr=00000000018E0000): error code 487
> > 2018-04-23 15:57:10.657 EDT [8836] ERROR: lost connection to parallel
> worker
> > 2018-04-23 15:57:10.657 EDT [8836] STATEMENT: select count(*) from
> tenk1 group by twenty;
> > 2018-04-23 15:57:10.660 EDT [3820] LOG: background worker "parallel
> worker" (PID 2240) exited with exit code 1
> >
> > Now how can this be? We've successfully reserved and released the
> address
> > range we want to use, so it *should* be free at the instant we try to
> map.
>
> Yeah, that's definitely interesting.
>
> > I guess the good news is that we're seeing this in a reasonably
> > reproducible fashion, so there's some hope of digging down to find
> > out the actual cause.
>
> I've asked Heath to take a look at the system again and see if there's
> any Windows logs or such that might help us understand what's happening.
> AV was disabled on the box, so don't think it's that, at least.
>

Disabled or uninstalled?

Back when I was combating windows AV on a daily basis, this normally did
not have the same effect. Just disabling the AV didn't actually remove the
parts that caused issues, it just hid them. Actual uninstall is what was
required.

--
Magnus Hagander
Me: https://www.hagander.net/ <http://www.hagander.net/>
Work: https://www.redpill-linpro.com/ <http://www.redpill-linpro.com/>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2018-04-24 07:37:40 Re: Excessive PostmasterIsAlive calls slow down WAL redo
Previous Message Noah Misch 2018-04-24 07:06:46 Re: "could not reattach to shared memory" on buildfarm member dory