pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Frost <jeff@pgexperts.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #8225: logging options don't change after reload
Date: Thu, 13 Jun 2013 20:44:17 -0700
Message-ID: <340E2714-AAF1-4479-AD32-37CC1265C425@pgexperts.com> (raw)
In-Reply-To: <WM!2b57fba086e92e6778ab5c01dfa7ea7beda61d13ca33714ccd234f3ac2322130147d2580bd4375ef3ba2b17a26953999!@asav-2.01.com>
References: <E1UmX2Z-0000wT-FC@wrigleys.postgresql.org>
	<21308.1371167440@sss.pgh.pa.us>
	<WM!f4423fe7658e8cb5934425fbb1d7c49b6e1734701cb2f9a6eb9926a2033110527d55df8d4839b7e0f097eae4e4c07625!@asav-1.01.com>
	<691F8BCC-5FE7-4556-9696-1FD13F7C416C@pgexperts.com>
	<21702.1371169002@sss.pgh.pa.us>
	<WM!aa707ceabe5c1d8dcc90135a76a0d8e3ab782423a950d14aebf8077f0e2021468f374207c36630e1d5d0e0e8e7a3b4ae!@asav-1.01.com>
	<F221D014-CEF1-4B5A-8D31-735695BBCC34@pgexperts.com>
	<25869.1371178090@sss.pgh.pa.us>
	<WM!2b57fba086e92e6778ab5c01dfa7ea7beda61d13ca33714ccd234f3ac2322130147d2580bd4375ef3ba2b17a26953999!@asav-2.01.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>


On Jun 13, 2013, at 7:48 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> Jeff Frost <jeff@pgexperts.com> writes:
>> What I don't understand is the new log file being created from the new
>> log_filename setting but then nothing being logged into it.  Is it the
>> postmaster which creates that file?  I would've thought it would be
>> the logger process?
> 
> Hm, I hadn't focused on that --- that *is* pretty bizarre.  The
> postmaster creates the log file initially before forking the syslogger,
> but subsequent rotations are handled by the syslogger process.
> 
> Is it possible that your systems are running on the hairy edge of ENFILE
> limits?  I notice that the syslogger will silently fail to rotate if it
> gets ENFILE while trying to open the new log file.  That doesn't look
> like it'd explain the lack of log_checkpoint activity, though.  Also,
> usually people notice this state because everything else on the box
> starts to fall over ...

These are definitely busy systems, but usually not running close to the edge, I'll see if I can make a test case using pgbench on 9.2.4.

-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (10+ messages)  latest in thread

Message-ID: <340E2714-AAF1-4479-AD32-37CC1265C425@pgexperts.com>
Permalink:  ../340E2714-AAF1-4479-AD32-37CC1265C425@pgexperts.com/
Also on:    postgresql.org/message-id/340E2714-AAF1-4479-AD32-37CC1265C425@pgexperts.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: jeff@pgexperts.com, tgl@sss.pgh.pa.us
  Subject: Re: BUG #8225: logging options don't change after reload
  In-Reply-To: <340E2714-AAF1-4479-AD32-37CC1265C425@pgexperts.com>
  References: <E1UmX2Z-0000wT-FC@wrigleys.postgresql.org> <21308.1371167440@sss.pgh.pa.us> <WM!f4423fe7658e8cb5934425fbb1d7c49b6e1734701cb2f9a6eb9926a2033110527d55df8d4839b7e0f097eae4e4c07625!@asav-1.01.com> <691F8BCC-5FE7-4556-9696-1FD13F7C416C@pgexperts.com> <21702.1371169002@sss.pgh.pa.us> <WM!aa707ceabe5c1d8dcc90135a76a0d8e3ab782423a950d14aebf8077f0e2021468f374207c36630e1d5d0e0e8e7a3b4ae!@asav-1.01.com> <F221D014-CEF1-4B5A-8D31-735695BBCC34@pgexperts.com> <25869.1371178090@sss.pgh.pa.us> <WM!2b57fba086e92e6778ab5c01dfa7ea7beda61d13ca33714ccd234f3ac2322130147d2580bd4375ef3ba2b17a26953999!@asav-2.01.com> <340E2714-AAF1-4479-AD32-37CC1265C425@pgexperts.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