Re: random backend crashes - how to debug ( Is crash dump handler released ? ) - Mailing list pgsql-general

From Merlin Moncure
Subject Re: random backend crashes - how to debug ( Is crash dump handler released ? )
Date
Msg-id BANLkTin5OT+s9LLdQjKHYcprTbJkABA5fw@mail.gmail.com
Whole thread Raw
In response to random backend crashes - how to debug ( Is crash dump handler released ? )  (BangarRaju Vadapalli <BangarRaju.Vadapalli@infor.com>)
List pgsql-general
On Tue, Jun 14, 2011 at 9:26 AM, BangarRaju Vadapalli
<BangarRaju.Vadapalli@infor.com> wrote:
> Hi Everybody,
>
>
>
>       We are using PostGRE 8.4 version and experiencing random backend
> crashes. We have enabled logging and are able to see some logging happening
> in pg_log directory but not of much use. Here are the logs.
>
>
>
>    2011-06-14 18:06:04 IST WARNING:  terminating connection because of crash
> of another server process
>
> 2011-06-14 18:06:04 IST DETAIL:  The postmaster has commanded this server
> process to roll back the current transaction and exit, because another
> server process exited abnormally and possibly corrupted shared memory.
>
> 2011-06-14 18:06:04 IST HINT:  In a moment you should be able to reconnect
> to the database and repeat your command.
>
> 2011-06-14 18:06:04 IST WARNING:  terminating connection because of crash of
> another server process
>
> 2011-06-14 18:06:04 IST DETAIL:  The postmaster has commanded this server
> process to roll back the current transaction and exit, because another
> server process exited abnormally and possibly corrupted shared memory.
>
> 2011-06-14 18:06:04 IST HINT:  In a moment you should be able to reconnect
> to the database and repeat your command.
>
> 2011-06-14 18:06:04 IST WARNING:  terminating connection because of crash of
> another server process
>
> 2011-06-14 18:06:04 IST DETAIL:  The postmaster has commanded this server
> process to roll back the current transaction and exit, because another
> server process exited abnormally and possibly corrupted shared memory.
>
> 2011-06-14 18:06:04 IST HINT:  In a moment you should be able to reconnect
> to the database and repeat your command.
>
> 2011-06-14 18:06:04 IST WARNING:  terminating connection because of crash of
> another server process
>
> 2011-06-14 18:06:04 IST DETAIL:  The postmaster has commanded this server
> process to roll back the current transaction and exit, because another
> server process exited abnormally and possibly corrupted shared memory.
>
>
>
>   I searched online and found crash dump handler idea has been proposed and
> patch for that has already been released if I am not wrong. Could anyone
> please detail the steps to install crash dump handler in windows? Also could
> you please help me with the ways to debug the crashes happening as shown
> above.

right.  well, are you running any third party code?  C functions?
external modules?  Is it practical to log queries from the client? On
the server?

Which exact version of postgres 8.4 are you running?  How often do you
see the crashes?

merlin

pgsql-general by date:

Previous
From: BangarRaju Vadapalli
Date:
Subject: random backend crashes - how to debug ( Is crash dump handler released ? )
Next
From: Mark Morgan Lloyd
Date:
Subject: Re: Per-query local timezone