Re: [PATCH] "could not reattach to shared memory" on Windows

From: Etienne Dube <etdube(at)gmail(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] "could not reattach to shared memory" on Windows
Date: 2010-07-20 15:31:34
Message-ID: 4C45C156.2060807@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 09/02/2010 4:09 PM, Etienne Dube wrote:
> Magnus Hagander wrote:
>> IIRC, we've had zero reports on whether the patch worked at all on 8.2
>> in an environment where the problem actually existed. So yes, some
>> testing and feedback would be much apprecaited.
>>
>> //Magnus
>
> Thanks for your quick reply.
> We upgraded to Service Pack 2 and it solved the problem. Nevertheless,
> I'll try to reproduce the issue under a Win2008 SP1 VM to see whether
> the patch makes a difference. 8.2.x win32 binaries are built using
> MinGW right?
>
> Etienne
>
>

The "could not reattach to shared memory" bug came back to bite us, this
time on a production machine running Windows Server 2008 R2 x64. I
manually applied the patch against the 8.2.17 sources and installed the
build on a test server. It has been running for two days without any
issue. We'll see after a while if the patch actually fixes the problem
(it seems to happen only after the postgres service has been up and
running for some time) but in case you want to include this fix in a
future 8.2.18 release, I've attached the new patch to apply against the
REL8_2_STABLE branch.

Etienne

Attachment Content-Type Size
pgsql-REL8_2_STABLE_virtualalloc.patch text/plain 5.7 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Artur Dabrowski 2010-07-20 15:46:20 Re: Incorrect FTS result with GIN index
Previous Message Robert Haas 2010-07-20 15:28:06 Re: reducing NUMERIC size for 9.1