Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id A92F4172E5DC for ; Thu, 26 Apr 2012 21:51:02 -0300 (ADT) Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SNZOk-0004ZZ-GL for pgsql-bugs@postgresql.org; Fri, 27 Apr 2012 00:51:01 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id q3R0ofLR018700; Thu, 26 Apr 2012 20:50:41 -0400 (EDT) To: Josh Berkus cc: pgsql-bugs@postgresql.org Subject: Re: log_collector doesn't respond to reloads In-reply-to: <4F99E37E.30904@agliodbs.com> References: <4F99E37E.30904@agliodbs.com> Comments: In-reply-to Josh Berkus message dated "Thu, 26 Apr 2012 17:08:30 -0700" Date: Thu, 26 Apr 2012 20:50:41 -0400 Message-ID: <18699.1335487841@sss.pgh.pa.us> From: Tom Lane X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201204/169 X-Sequence-Number: 32920 Josh Berkus writes: > Summary: despite pg_reload(), log directory, filename and destination > don't change Looking at the code, it's really hard to see how this could possibly happen, unless maybe the process is blocking receipt of SIGHUP. Which it shouldn't be. Not sure about RHEL5, but on recent Linuxen you can check the process's signal masks like this: grep ^Sig /proc/NNNN/status where NNNN is the logging collector's PID. Could we see that? regards, tom lane