Re: Unknown winsock error 10061 - Mailing list pgsql-bugs

From Wojciech Strzałka
Subject Re: Unknown winsock error 10061
Date
Msg-id 437890557.20090707152847@gmail.com
Whole thread Raw
In response to Re: Unknown winsock error 10061  (Dave Page <dpage@pgadmin.org>)
Responses Re: Unknown winsock error 10061
List pgsql-bugs
Sorry if what i'm talking is completely silly, but  the error code (ERROR_INVALID_ADDRESS - 487 (0x1E7)) returned
from MapViewOfFileEx suggest the ShMem address is wrong. The Windows  error codes are usually not really helpfull but
canwe log the UsedShmemSegAddr and UsedShmemSegID in  PGSharedMemoryCreate and maybe also on successful
PGSharedMemoryReAttach in DEBUG log level?     

> 2009/7/7 Wojciech Strzałka <wstrzalka@gmail.com>:
>>
>>  Here ( http://www.codelabs.pl/_varia/pg.zip ) is detailed info from
>>  my machine (PostgreSQL 8.3.6, compiled by Visual C++ build 1400):
>>
>>  - detailed log file with several memory attach problems
>>  - process activity log file (created by Process Monitor from SysInternals)
>>  - dll's loaded by postgres.exe (snapshot only)
>>
>>  Maybe by comparing log entries you will be able to tell smth.

> I can't spot anything obviously wrong (other than the original error
> of course). My only suggestion right now is that we try putting a
> retry loop in PGSharedMemoryReAttach() and see if the error is a
> transient thing.

> Any other ideas?




--
Pozdrowienia,Wojciech Strzałka



pgsql-bugs by date:

Previous
From: Dave Page
Date:
Subject: Re: Unknown winsock error 10061
Next
From: Dave Page
Date:
Subject: Re: Unknown winsock error 10061