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

From: Merlin Moncure <mmoncure(at)gmail(dot)com>
To: BangarRaju Vadapalli <BangarRaju(dot)Vadapalli(at)infor(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: random backend crashes - how to debug ( Is crash dump handler released ? )
Date: 2011-06-14 16:36:30
Message-ID: BANLkTin5OT+s9LLdQjKHYcprTbJkABA5fw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Jun 14, 2011 at 9:26 AM, BangarRaju Vadapalli
<BangarRaju(dot)Vadapalli(at)infor(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Mark Morgan Lloyd 2011-06-14 17:14:34 Re: Per-query local timezone
Previous Message Merlin Moncure 2011-06-14 16:20:21 Re: system command in dblink?