From: Kong Man <kong_mansatiansin@hotmail.com>
To: tgl@sss.pgh.pa.us
Cc: pgsql-admin@postgresql.org
Subject: Re: log_min_messages=debug5, despite an explicit setting to warning on postgresql.conf
Date: Wed, 26 Dec 2012 14:56:54 -0800
Message-ID: <DUB116-W50024D8D1C9F4BF0913FA88B390@phx.gbl> (raw)
In-Reply-To: <DUB116-W140DDBA75EBE24D4A5696EA8B3B0@phx.gbl>
References: <DUB116-W200DF672981FC04C6A52768B340@phx.gbl>
<26470.1356283272@sss.pgh.pa.us>
<DUB116-W140DDBA75EBE24D4A5696EA8B3B0@phx.gbl>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>
So, LifeKeeper default setting of LKPGSQLDEBUG=5 on
/etc/default/LifeKeeper was the culprit for this issue, probably by
starting postmaster with -d5 option.
Thank you for pointing us to the right direction.
-Kong
From: kong_mansatiansin@hotmail.com
To: tgl@sss.pgh.pa.us
CC: pgsql-admin@postgresql.org
Subject: RE: [ADMIN] log_min_messages=debug5, despite an explicit setting to warning on postgresql.conf
Date: Sun, 23 Dec 2012 21:59:35 -0800
Hi Tom,
Thank you for some clue in this. So, I assume changing log_destination (from syslog to stderr) was a way around it to override log_min_messages when the -d option is specified?
I am checking with the vender, SIOS, on what scenarios LifeKeeper would start up PostgreSQL with the -d5 option.
Best regards,
-Kong
> From: tgl@sss.pgh.pa.us
> To: kong_mansatiansin@hotmail.com
> CC: pgsql-admin@postgresql.org
> Subject: Re: [ADMIN] log_min_messages=debug5, despite an explicit setting to warning on postgresql.conf
> Date: Sun, 23 Dec 2012 12:21:12 -0500
>
> Kong Man <kong_mansatiansin@hotmail.com> writes:
> > We ran into a production issue during our maintenance window when I switched over LifeKeeper/PostgreSQL nodes from one to another. We noticed that the database was 1000 times slower than it usually is, then realized that the log_min_messages setting was set to 'debug5' for no reason.
>
> How was the postmaster started? From memory, "-d5" on its command line
> would do that, and would not have been overridable from postgresql.conf.
>
> regards, tom lane
=
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-admin@postgresql.org
Cc: kong_mansatiansin@hotmail.com, tgl@sss.pgh.pa.us
Subject: Re: log_min_messages=debug5, despite an explicit setting to warning on postgresql.conf
In-Reply-To: <DUB116-W50024D8D1C9F4BF0913FA88B390@phx.gbl>
References: <DUB116-W200DF672981FC04C6A52768B340@phx.gbl> <26470.1356283272@sss.pgh.pa.us> <DUB116-W140DDBA75EBE24D4A5696EA8B3B0@phx.gbl> <DUB116-W50024D8D1C9F4BF0913FA88B390@phx.gbl>
* 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