pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jeff Frost <jeff@pgexperts.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #8225: logging options don't change after reload
Date: Thu, 13 Jun 2013 22:48:10 -0400
Message-ID: <25869.1371178090@sss.pgh.pa.us> (raw)
In-Reply-To: <F221D014-CEF1-4B5A-8D31-735695BBCC34@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>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

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 ...

			regards, tom lane


-- 
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: <25869.1371178090@sss.pgh.pa.us>
Permalink:  ../25869.1371178090@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/25869.1371178090@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, jeff@pgexperts.com
  Subject: Re: BUG #8225: logging options don't change after reload
  In-Reply-To: <25869.1371178090@sss.pgh.pa.us>
  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>

* 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