Re: Win32 hard crash problem - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: Win32 hard crash problem
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCEA0FB8B@algol.sollentuna.se
Whole thread Raw
In response to Re: Win32 hard crash problem  ("Joshua D. Drake" <jd@commandprompt.com>)
List pgsql-hackers
> >> PostgreSQL will also not recover on its own (e.g; auto restart and
> >> roll through the logs).
> >
> > What do you mean by this? It doesn't start upon reboot?
> What is needed
> > to make it start?
>
> It means that postgresql doesn't recover on its own. On linux
> if a backend crashes all of PostgreSQL will restart and come
> back up if it can.
>
> On Win32 it doesn't.

Ah, I thought you meant that the database recovery process (that runs
after a crash) failed and lost data. But it's not data-loss then, it
just took a reboot to fix it?

I think we're somehow seeing a complete postmaster hang, where it's
either not able to kill off th ebackends as required, or just not
capable of accepting new connections after that. Which makes a
stacktrace from the postmaster the most interesting one to look at.

//Magnus


pgsql-hackers by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: Win32 hard crash problem
Next
From: Tom Lane
Date:
Subject: Re: Win32 hard crash problem