Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UnK3m-00041Q-W1 for pgsql-bugs@arkaria.postgresql.org; Fri, 14 Jun 2013 02:48:19 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UnK3m-0002Te-Fu for pgsql-bugs@arkaria.postgresql.org; Fri, 14 Jun 2013 02:48:18 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UnK3l-0002TY-KL for pgsql-bugs@postgresql.org; Fri, 14 Jun 2013 02:48:17 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UnK3h-000778-C8 for pgsql-bugs@postgresql.org; Fri, 14 Jun 2013 02:48:17 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id r5E2mACH025870; Thu, 13 Jun 2013 22:48:10 -0400 (EDT) From: Tom Lane To: Jeff Frost cc: pgsql-bugs@postgresql.org Subject: Re: BUG #8225: logging options don't change after reload In-reply-to: References: <21308.1371167440@sss.pgh.pa.us> <691F8BCC-5FE7-4556-9696-1FD13F7C416C@pgexperts.com> <21702.1371169002@sss.pgh.pa.us> Comments: In-reply-to Jeff Frost message dated "Thu, 13 Jun 2013 18:14:05 -0700" Date: Thu, 13 Jun 2013 22:48:10 -0400 Message-ID: <25869.1371178090@sss.pgh.pa.us> X-Pg-Spam-Score: -2.3 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Jeff Frost 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