pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
To: bricklen <bricklen@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: auto_explain causes cluster crash if pg_ctl reload is used (not pg_ctl restart)
Date: Tue, 25 Oct 2011 19:22:15 +0300
Message-ID: <4EA6E237.5000802@enterprisedb.com> (raw)
In-Reply-To: <CAGrpgQ8ERvmy3q6JBjyn8Nq2+000c7A4uRrsGsdKNqtxmRbcYw@mail.gmail.com>
References: <CAGrpgQ8ERvmy3q6JBjyn8Nq2+000c7A4uRrsGsdKNqtxmRbcYw@mail.gmail.com>

On 25.10.2011 18:42, bricklen wrote:
> Tried on both
> PostgreSQL 9.0.4 on x86_64-unknown-linux-gnu, compiled by GCC gcc
> (GCC) 4.1.2 20080704 (Red Hat 4.1.2-48), 64-bit
> and
> PostgreSQL 9.0.3 on x86_64-unknown-linux-gnu, compiled by GCC gcc
> (GCC) 4.1.2 20080704 (Red Hat 4.1.2-48), 64-bit
>
> shared_preload_libraries = 'pg_stat_statements,auto_explain'
> custom_variable_classes = 'auto_explain'
> auto_explain.log_min_duration = '10s'
> auto_explain.log_analyze = true
> auto_explain.log_buffers = true
>
> I was testing to see if any of the settings above got applied after
> issuing a "pg_ctl reload" rather than a restart, and I was surprised
> to see that I could crash my db cluster. I realize that the docs say
> to issue a restart, but the crash seems a tad user-unfriendly.
>
> Any other details I should provide?

A backtrace from the core dump would be help a lot. Can you get one? 
More precise instructions on how to reproduce this would also be nice.

-- 
   Heikki Linnakangas
   EnterpriseDB   http://www.enterprisedb.com



view thread (5+ messages)  latest in thread

Message-ID: <4EA6E237.5000802@enterprisedb.com>
Permalink:  ../4EA6E237.5000802@enterprisedb.com/
Also on:    postgresql.org/message-id/4EA6E237.5000802@enterprisedb.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: heikki.linnakangas@enterprisedb.com, bricklen@gmail.com
  Subject: Re: auto_explain causes cluster crash if pg_ctl reload is used (not pg_ctl restart)
  In-Reply-To: <4EA6E237.5000802@enterprisedb.com>
  References: <CAGrpgQ8ERvmy3q6JBjyn8Nq2+000c7A4uRrsGsdKNqtxmRbcYw@mail.gmail.com> <4EA6E237.5000802@enterprisedb.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox