pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #14419: DB connections fails with "could not reserve shared memory region" in postgresql log.
7+ messages / 4 participants
[nested] [flat]

* BUG #14419: DB connections fails with "could not reserve shared memory region" in postgresql log.
@ 2016-11-11 12:12  jari.kopponen@patria.fi
  0 siblings, 1 reply; 7+ messages in thread

From: jari.kopponen@patria.fi @ 2016-11-11 12:12 UTC (permalink / raw)
  To: pgsql-bugs

The following bug has been logged on the website:

Bug reference:      14419
Logged by:          jari kopponen
Email address:      jari.kopponen@patria.fi
PostgreSQL version: 9.4.4
Operating system:   Windows 7 Professional, 64 bit SP 1
Description:        

After we installed kb3177467 (Servicing stack update for Windows 7 SP1 and
Windows Server 2008 R2 SP1: September 20, 2016) windows update, we faced
problems with database connections. In postgresql there is log entries
"could not reserve shared memory region (addr:xxx) for child(yyy): error
code 487. This seems to be quite similar problem than described in : BUG
#14050.


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs


^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: BUG #14419: DB connections fails with "could not reserve shared memory region" in postgresql log.
@ 2016-11-11 13:47  Michael Paquier <michael.paquier@gmail.com>
  parent: jari.kopponen@patria.fi
  0 siblings, 2 replies; 7+ messages in thread

From: Michael Paquier @ 2016-11-11 13:47 UTC (permalink / raw)
  To: jari.kopponen@patria.fi; +Cc: pgsql-bugs

On Fri, Nov 11, 2016 at 9:12 PM,  <jari.kopponen@patria.fi> wrote:
> The following bug has been logged on the website:
>
> Bug reference:      14419
> Logged by:          jari kopponen
> Email address:      jari.kopponen@patria.fi
> PostgreSQL version: 9.4.4
> Operating system:   Windows 7 Professional, 64 bit SP 1
> Description:
>
> After we installed kb3177467 (Servicing stack update for Windows 7 SP1 and
> Windows Server 2008 R2 SP1: September 20, 2016) windows update, we faced
> problems with database connections. In postgresql there is log entries
> "could not reserve shared memory region (addr:xxx) for child(yyy): error
> code 487. This seems to be quite similar problem than described in : BUG
> #14050.



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: BUG #14419: DB connections fails with "could not reserve shared memory region" in postgresql log.
@ 2016-11-11 14:22  Julien Rouhaud <julien.rouhaud@dalibo.com>
  parent: Michael Paquier <michael.paquier@gmail.com>
  1 sibling, 1 reply; 7+ messages in thread

From: Julien Rouhaud @ 2016-11-11 14:22 UTC (permalink / raw)
  To: Michael Paquier <michael.paquier@gmail.com>; jari.kopponen@patria.fi; +Cc: pgsql-bugs

On 11/11/2016 14:47, Michael Paquier wrote:
> On Fri, Nov 11, 2016 at 9:12 PM,  <jari.kopponen@patria.fi> wrote:
>> The following bug has been logged on the website:
>>
>> Bug reference:      14419
>> Logged by:          jari kopponen
>> Email address:      jari.kopponen@patria.fi
>> PostgreSQL version: 9.4.4
>> Operating system:   Windows 7 Professional, 64 bit SP 1
>> Description:
>>
>> After we installed kb3177467 (Servicing stack update for Windows 7 SP1 and
>> Windows Server 2008 R2 SP1: September 20, 2016) windows update, we faced
>> problems with database connections. In postgresql there is log entries
>> "could not reserve shared memory region (addr:xxx) for child(yyy): error
>> code 487. This seems to be quite similar problem than described in : BUG
>> #14050.
> 
> From where are those builds? Is ASLR enabled? I saw patterns of broken
> shared memory with Win 2k8 R2 because of that.
> 

FWIW, there was 3 reports for this issue on french board in the last few
days (including pg 9.3.3 and 9.5.5), I think all of them on W7.

-- 
Julien Rouhaud
http://dalibo.com - http://dalibo.org


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: BUG #14419: DB connections fails with "could not reserve shared memory region" in postgresql log.
@ 2016-11-12 04:57  Michael Paquier <michael.paquier@gmail.com>
  parent: Julien Rouhaud <julien.rouhaud@dalibo.com>
  0 siblings, 2 replies; 7+ messages in thread

From: Michael Paquier @ 2016-11-12 04:57 UTC (permalink / raw)
  To: Julien Rouhaud <julien.rouhaud@dalibo.com>; +Cc: pgsql-bugs

On Fri, Nov 11, 2016 at 11:22 PM, Julien Rouhaud
<julien.rouhaud@dalibo.com> wrote:
> FWIW, there was 3 reports for this issue on french board in the last few
> days (including pg 9.3.3 and 9.5.5), I think all of them on W7.

It may be a good idea to check if ASLR is really enabled. Win2k8 R2
and Win7 SP1 have introduced the "force ASLR" feature...
https://support.microsoft.com/en-us/kb/2639308
Not sure if that's related directly to that, but the reports popping
up with the latest versions of Win7 and win2k8 are pointing out to
something that the OS changed...
-- 
Michael


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: BUG #14419: DB connections fails with "could not reserve shared memory region" in postgresql log.
@ 2016-11-12 07:50  Julien Rouhaud <julien.rouhaud@dalibo.com>
  parent: Michael Paquier <michael.paquier@gmail.com>
  1 sibling, 0 replies; 7+ messages in thread

From: Julien Rouhaud @ 2016-11-12 07:50 UTC (permalink / raw)
  To: Michael Paquier <michael.paquier@gmail.com>; +Cc: pgsql-bugs

On 12/11/2016 05:57, Michael Paquier wrote:
> On Fri, Nov 11, 2016 at 11:22 PM, Julien Rouhaud
> <julien.rouhaud@dalibo.com> wrote:
>> FWIW, there was 3 reports for this issue on french board in the last few
>> days (including pg 9.3.3 and 9.5.5), I think all of them on W7.
> 
> It may be a good idea to check if ASLR is really enabled. Win2k8 R2
> and Win7 SP1 have introduced the "force ASLR" feature...

I just asked and provided a link to this thread.  I'll provide any new
information.

> https://support.microsoft.com/en-us/kb/2639308
> Not sure if that's related directly to that, but the reports popping
> up with the latest versions of Win7 and win2k8 are pointing out to
> something that the OS changed...
> 

Definitely.

-- 
Julien Rouhaud
http://dalibo.com - http://dalibo.org


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: BUG #14419: DB connections fails with "could not reserve shared memory region" in postgresql log.
@ 2016-11-14 07:18  Jari Kopponen <jari.kopponen@patria.fi>
  parent: Michael Paquier <michael.paquier@gmail.com>
  1 sibling, 0 replies; 7+ messages in thread

From: Jari Kopponen @ 2016-11-14 07:18 UTC (permalink / raw)
  To: Michael Paquier <michael.paquier@gmail.com>; +Cc: pgsql-bugs

Installer has been downloaded from: http://www.enterprisedb.com.
Based on Process Explorer, ALSR Is not enabled.
---
Jari


-----Original Message-----
From: Michael Paquier [mailto:michael.paquier@gmail.com] 
Sent: 11. marraskuuta 2016 15:48
To: Jari Kopponen <jari.kopponen@patria.fi>
Cc: PostgreSQL mailing lists <pgsql-bugs@postgresql.org>
Subject: Re: [BUGS] BUG #14419: DB connections fails with "could not reserve shared memory region" in postgresql log.

On Fri, Nov 11, 2016 at 9:12 PM,  <jari.kopponen@patria.fi> wrote:
> The following bug has been logged on the website:
>
> Bug reference:      14419
> Logged by:          jari kopponen
> Email address:      jari.kopponen@patria.fi
> PostgreSQL version: 9.4.4
> Operating system:   Windows 7 Professional, 64 bit SP 1
> Description:
>
> After we installed kb3177467 (Servicing stack update for Windows 7 SP1 
> and Windows Server 2008 R2 SP1: September 20, 2016) windows update, we 
> faced problems with database connections. In postgresql there is log 
> entries "could not reserve shared memory region (addr:xxx) for 
> child(yyy): error code 487. This seems to be quite similar problem 
> than described in : BUG #14050.

From where are those builds? Is ASLR enabled? I saw patterns of broken shared memory with Win 2k8 R2 because of that.
--
Michael

-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs


^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: BUG #14419: DB connections fails with "could not reserve shared memory region" in postgresql log.
@ 2016-11-14 07:32  Jari Kopponen <jari.kopponen@patria.fi>
  parent: Michael Paquier <michael.paquier@gmail.com>
  1 sibling, 0 replies; 7+ messages in thread

From: Jari Kopponen @ 2016-11-14 07:32 UTC (permalink / raw)
  To: Michael Paquier <michael.paquier@gmail.com>; Julien Rouhaud <julien.rouhaud@dalibo.com>; +Cc: pgsql-bugs

Force ASLR is not enabled for PostgreSQL.

I made further investigations. If I delay PostgreSQL start (by using "Delayed Start" -option with PostgreSQL -service or by starting manually PostgreSQL) the problem disappears.
So trigger for the problems might be high CPU of high hard-disk load on windows startup -phase. Or some dependency to other windows service.
---
Jari


-----Original Message-----
From: Michael Paquier [mailto:michael.paquier@gmail.com] 
Sent: 12. marraskuuta 2016 6:58
To: Julien Rouhaud <julien.rouhaud@dalibo.com>
Cc: Jari Kopponen <jari.kopponen@patria.fi>; PostgreSQL mailing lists <pgsql-bugs@postgresql.org>
Subject: Re: [BUGS] BUG #14419: DB connections fails with "could not reserve shared memory region" in postgresql log.

On Fri, Nov 11, 2016 at 11:22 PM, Julien Rouhaud <julien.rouhaud@dalibo.com> wrote:
> FWIW, there was 3 reports for this issue on french board in the last 
> few days (including pg 9.3.3 and 9.5.5), I think all of them on W7.

It may be a good idea to check if ASLR is really enabled. Win2k8 R2 and Win7 SP1 have introduced the "force ASLR" feature...
https://support.microsoft.com/en-us/kb/2639308
Not sure if that's related directly to that, but the reports popping up with the latest versions of Win7 and win2k8 are pointing out to something that the OS changed...
--
Michael

-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs


^ permalink  raw  reply  [nested|flat] 7+ messages in thread


end of thread, other threads:[~2016-11-14 07:32 UTC | newest]

Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-11-11 12:12 BUG #14419: DB connections fails with "could not reserve shared memory region" in postgresql log. jari.kopponen@patria.fi
2016-11-11 13:47 ` Michael Paquier <michael.paquier@gmail.com>
2016-11-11 14:22   ` Julien Rouhaud <julien.rouhaud@dalibo.com>
2016-11-12 04:57     ` Michael Paquier <michael.paquier@gmail.com>
2016-11-12 07:50       ` Julien Rouhaud <julien.rouhaud@dalibo.com>
2016-11-14 07:32       ` Jari Kopponen <jari.kopponen@patria.fi>
2016-11-14 07:18   ` Jari Kopponen <jari.kopponen@patria.fi>

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