Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 14A51172E5DC for ; Thu, 26 Apr 2012 22:11:56 -0300 (ADT) Received: from smtp.01.com ([199.36.142.181]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SNZiz-0004sq-Oy for pgsql-bugs@postgresql.org; Fri, 27 Apr 2012 01:11:56 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp-out-2.01.com (Postfix) with ESMTP id 904F43900F8; Thu, 26 Apr 2012 20:11:39 -0500 (CDT) X-Virus-Scanned: amavisd-new at smtp-out-2.01.com Received: from smtp.01.com ([127.0.0.1]) by localhost (smtp-out-2.01.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5q+zfBrah9bI; Thu, 26 Apr 2012 20:11:39 -0500 (CDT) Received: from smtp.01.com (localhost.localdomain [127.0.0.1]) by smtp-out-2.01.com (Postfix) with ESMTP id 6B8AD3900FA; Thu, 26 Apr 2012 20:11:39 -0500 (CDT) Received: from Sidney-Stratton.local (enrico.iii.com [205.227.88.253]) by smtp-out-2.01.com (Postfix) with ESMTPSA id 1CFF23900F8; Thu, 26 Apr 2012 20:11:39 -0500 (CDT) Message-ID: <4F99F24A.3030507@agliodbs.com> Date: Thu, 26 Apr 2012 18:11:38 -0700 From: Josh Berkus Organization: PostgreSQL Experts Inc. User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.5; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 To: Tom Lane CC: pgsql-bugs@postgresql.org Subject: Re: log_collector doesn't respond to reloads References: <4F99E37E.30904@agliodbs.com> <18699.1335487841@sss.pgh.pa.us> In-Reply-To: <18699.1335487841@sss.pgh.pa.us> X-Enigmail-Version: 1.4.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201204/170 X-Sequence-Number: 32921 On 4/26/12 5:50 PM, Tom Lane wrote: > 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? SigQ: 0/399360 SigPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001007806 SigCgt: 0000000000000201 -- Josh Berkus PostgreSQL Experts Inc. http://pgexperts.com