From: Noah Misch <noah@leadboat.com>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: Dave Vitek <dvitek@grammatech.com>
Cc: PostgreSQL mailing lists <pgsql-bugs@postgresql.org>
Cc: v-seishi@microsoft.com
Subject: Re: Re: windows 8 RTM compatibility issue (could not reserve shared memory region for child)
Date: Tue, 23 Jun 2015 23:29:08 -0400
Message-ID: <20150624032908.GB570722@tornado.leadboat.com> (raw)
In-Reply-To: <CAB7nPqSjkKdyaVnmmd0_ra3Q90F9AZvQrTxxdDWs4Sif9d8Rug@mail.gmail.com>
References: <5046CAEB.4010600@grammatech.com>
<20130704161207.GA1046835@tornado.leadboat.com>
<CAB7nPqSjkKdyaVnmmd0_ra3Q90F9AZvQrTxxdDWs4Sif9d8Rug@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On Wed, Jun 24, 2015 at 10:06:00AM +0900, Michael Paquier wrote:
> > On Tue, Sep 04, 2012 at 11:45:47PM -0400, Dave Vitek wrote:
> >> LOG: could not reserve shared memory region (addr=0000000001410000) for child
> >> 0000000000000F8C: 487
> >> LOG: could not fork new process for connection: A blocking operation was
> >> interrupted by a call to WSACancelBlockingCall.
> So, it happens that it is still possible to hit this issue on at least
> Win2k12 boxes (received some complaints about that) even if
> RandomizedBaseAddress is disabled in build, as per a result of the
> following thread:
> http://www.postgresql.org/message-id/BD0D89EC2438455C9DE0DC94D36912F4@maumau
That report led to the RandomizedBaseAddress="FALSE" commit, so the report was
not based on such a build. If you have received complaints definitively
involving a RandomizedBaseAddress="FALSE" build, that is novel evidence. If
these complaints involved publicly-available binaries, which exact binaries
(download URL)? If not, what do you know about how the binaries were built?
> I am wondering if Perhaps we could do better than what we have now
> with a retry logic in the thread fork loop as it seems like a stopover
> to use a non-NULL lpBaseAddress in MapViewOfFileEx to make the address
> selection more random as this base address selection would be
> system-dependent.
I don't understand exactly what you're proposing here. Are you proposing to
retry backend creation after a child can't reattach to shared memory? That is
better than a user-facing failure, but let's start with a diligent attempt to
root-cause the complaints you have received.
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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-bugs@postgresql.org
Cc: noah@leadboat.com, michael.paquier@gmail.com, dvitek@grammatech.com, v-seishi@microsoft.com
Subject: Re: windows 8 RTM compatibility issue (could not reserve shared memory region for child)
In-Reply-To: <20150624032908.GB570722@tornado.leadboat.com>
References: <5046CAEB.4010600@grammatech.com> <20130704161207.GA1046835@tornado.leadboat.com> <CAB7nPqSjkKdyaVnmmd0_ra3Q90F9AZvQrTxxdDWs4Sif9d8Rug@mail.gmail.com> <20150624032908.GB570722@tornado.leadboat.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