Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 8CED06329DA for ; Fri, 9 Apr 2010 10:33:52 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 01994-10 for ; Fri, 9 Apr 2010 13:33:33 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from rs47.luxsci.com (rs47.luxsci.com [65.61.166.88]) by mail.postgresql.org (Postfix) with ESMTP id B49C46334F2 for ; Fri, 9 Apr 2010 10:33:38 -0300 (ADT) Received: from gnanam (ABTS-TN-Static-186.58.165.122.airtelbroadband.in [122.165.58.186] (may be forged)) (authenticated bits=0) by rs47.luxsci.com (8.13.1/8.13.7) with ESMTP id o39DXTpI008541; Fri, 9 Apr 2010 08:33:32 -0500 Reply-To: From: "Gnanakumar" To: "'Tom Lane'" Cc: References: <007a01cad09d$33907af0$9ab170d0$@com> <008b01cad0a3$a50782e0$ef1688a0$@com> <28454.1270071766@sss.pgh.pa.us> In-Reply-To: <28454.1270071766@sss.pgh.pa.us> Subject: Re: Statistics Collector not collecting server activities Date: Fri, 9 Apr 2010 19:03:28 +0530 Organization: Zoniac Software Private Limited Message-ID: <004801cad7e9$414f7a80$c3ee6f80$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcrRGxrz6a+JnK3tTqS3fe+1fLIIoAGzZJcw Content-Language: en-us X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.182 tagged_above=-10 required=5 tests=AWL=-0.474, MAY_BE_FORGED=0.292 X-Spam-Level: X-Archive-Number: 201004/110 X-Sequence-Number: 34204 Hi Tom, As you said, I notice the following in postmaster log: 2010-04-08 17:30:41 ISTLOG: could not receive test message on socket for statistics collector: Connection refused 2010-04-08 17:30:41 ISTLOG: disabling statistics collector for lack of working socket What is going wrong? I couldn't understand from the above lines. If postgresql service can start without any issues, why not stats collector process the same way? -----Original Message----- From: Tom Lane [mailto:tgl@sss.pgh.pa.us] Sent: Thursday, April 01, 2010 3:13 AM To: gnanam@zoniac.com Cc: pgsql-admin@postgresql.org Subject: Re: [ADMIN] Statistics Collector not collecting server activities "Gnanakumar" writes: > I'm also seeing a weird thing. If I do 'show stats_start_collector;' inside > psql, it says 'off'. Yeah, this is the expected state if the collector fails to start for some reason. Look into the postmaster log for a startup-time message indicating why; but again, I'll bet on problems creating its UDP socket. regards, tom lane