pgsql: Try to get some info about Windows can't-reattach-to-shared-memo

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Try to get some info about Windows can't-reattach-to-shared-memo
Date: 2018-04-28 02:00:06
Message-ID: E1fCF9i-0005ZX-Nb@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Try to get some info about Windows can't-reattach-to-shared-memory errors.

Add some debug printouts focused on the idea that MapViewOfFileEx might
be rounding its virtual memory allocation up more than we expect (and,
in particular, more than VirtualAllocEx does).

Once we've seen what this reports in one of the failures on buildfarm
members dory or jacana, we might revert this ... or perhaps just
decrease the log level.

Discussion: https://postgr.es/m/25495.1524517820@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/63ca350ef9f58d48ac89fd3c68416e319cac0a39

Modified Files
--------------
src/backend/port/win32_shmem.c | 24 +++++++++++++++++++++++-
1 file changed, 23 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2018-04-28 15:46:21 pgsql: Assorted minor doc/comment fixes.
Previous Message Tom Lane 2018-04-27 17:42:08 pgsql: Adjust hints and docs to suggest CREATE EXTENSION not CREATE LAN