Re: auto_explain causes cluster crash if pg_ctl reload is used (not pg_ctl restart)

From: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
To: bricklen <bricklen(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: auto_explain causes cluster crash if pg_ctl reload is used (not pg_ctl restart)
Date: 2011-10-25 16:22:15
Message-ID: 4EA6E237.5000802@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Kevin Grittner 2011-10-25 17:51:26 Re: BUG #6269: Anomaly detection
Previous Message Heikki Linnakangas 2011-10-25 16:17:31 Re: BUG #6269: Anomaly detection