Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Z7bNN-0007jr-OC for pgsql-bugs@arkaria.postgresql.org; Wed, 24 Jun 2015 03:29:25 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1Z7bNM-0006s3-IQ for pgsql-bugs@arkaria.postgresql.org; Wed, 24 Jun 2015 03:29:24 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Z7bNK-0006ru-JF for pgsql-bugs@postgresql.org; Wed, 24 Jun 2015 03:29:22 +0000 Received: from mail-pd0-x22c.google.com ([2607:f8b0:400e:c02::22c]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1Z7bNC-0004Y8-5d for pgsql-bugs@postgresql.org; Wed, 24 Jun 2015 03:29:21 +0000 Received: by pdbci14 with SMTP id ci14so20611287pdb.2 for ; Tue, 23 Jun 2015 20:29:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=lxBw5JDTJZR5E1iRk9HUqxIpy5q6C6/e9dSERgi9Mco=; b=e7pkejeXfO4Fxlidq8n4vG2YE559KkQbPOUk4XHaRsmEItwR58l6lUHXV7vvaqvdiu LfvBYR10LNma1219DZS23QNMckqDEab0SSbZamTonf2w/mySiCsUugJBE4PnXb+T0VFR dy63Yb5gKKaqto/1CfHGvTn8YfiMdOszG5Ymo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=lxBw5JDTJZR5E1iRk9HUqxIpy5q6C6/e9dSERgi9Mco=; b=CUTjC1F6fTXa8fWV2DAb5yltMNDMM5qKNhf88XV8KeptmW0cB17yaLsVr8zCVUhdoE 9134Gg3GF3FHc5fIeBSORAl+HkGYy93uZhJppJxZxSiq2X8QjJqKRbHzOqRynoKKCPZ7 UDRVXV/oSR/2Xb6nQkHSzRU+U2MnivPxpSo8h+cd6OmAN3DqLymklMXiNVkOBWZ0O22P tAGqhXlasN7u1VA30qZHRsjyUaWXrn+srw1DQruAE3t4jeHKdmcN1nhlF+4504TugkcP wrsjsLnyd/FUdgJtYRp7za6W79V+TYf0Yt/5U9spUdfyIV7B4JGKbryEmeJwb2cBCmz+ xqwg== X-Gm-Message-State: ALoCoQltJbpQ1hdbUfzeNznfa7jgGzNu0VJXGEe3s2ZzPUHveA4kgU8JRfMDuEqan+b3XJKQ8ZxO X-Received: by 10.68.108.132 with SMTP id hk4mr76504743pbb.6.1435116551396; Tue, 23 Jun 2015 20:29:11 -0700 (PDT) Received: from tornado.leadboat.com (c-98-248-47-228.hsd1.ca.comcast.net. [98.248.47.228]) by mx.google.com with ESMTPSA id x2sm24896355pda.31.2015.06.23.20.29.09 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 23 Jun 2015 20:29:10 -0700 (PDT) Date: Tue, 23 Jun 2015 23:29:08 -0400 From: Noah Misch To: Michael Paquier Cc: Dave Vitek , PostgreSQL mailing lists , v-seishi@microsoft.com Subject: Re: Re: windows 8 RTM compatibility issue (could not reserve shared memory region for child) Message-ID: <20150624032908.GB570722@tornado.leadboat.com> References: <5046CAEB.4010600@grammatech.com> <20130704161207.GA1046835@tornado.leadboat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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