Re: Service not starting: Error 1053 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Service not starting: Error 1053
Date
Msg-id 19427.1235536693@sss.pgh.pa.us
Whole thread Raw
In response to Re: Service not starting: Error 1053  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Service not starting: Error 1053  (Frank Featherlight <dirtydude@gmail.com>)
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> I don't really know anything about PostgreSQL on Windows, so I'm
> afraid I can't give you too much help.  My gut feeling from years of
> experience with debugging random weird problems on various platforms
> is that we need to know more about why this is happening to you and
> not to other people.

It is happening to *some* other people, as shown by previous bug
reports, but what we lack is a way to reproduce it or identify just
what's causing it.

The error number 487 (which I think Frank is the first reporter to
positively confirm) confirms our previous theory that the problem is
inability to map the shared memory segment due to something else having
already occupied the needed address range in the new child process.
However, since the child process is running the same postmaster
executable that was able to map the shared memory segment at that
address to begin with, it's far from clear why that failure should
occur.  And experience shows that most of the time, for most people,
it doesn't occur.

My guess is that the cause is some sort of add-on software that
invasively attaches itself to new processes.  That could well be
an antivirus, or a virus, or something else entirely (network
stack addon?).  Your suggestions about methodically trying to
identify the cause are good.
        regards, tom lane


pgsql-hackers by date:

Previous
From: KaiGai Kohei
Date:
Subject: Re: Synchronous replication & Hot standby patches
Next
From: Frank Featherlight
Date:
Subject: Re: Service not starting: Error 1053