Re: Statistics Collector not collecting server activities - Mailing list pgsql-admin

From Gnanakumar
Subject Re: Statistics Collector not collecting server activities
Date
Msg-id 004801cad7e9$414f7a80$c3ee6f80$@com
Whole thread Raw
In response to Re: Statistics Collector not collecting server activities  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Statistics Collector not collecting server activities
List pgsql-admin
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" <gnanam@zoniac.com> 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


pgsql-admin by date:

Previous
From: Ray Stell
Date:
Subject: Re: WARM standby with pg_standby
Next
From: "Kevin Grittner"
Date:
Subject: Re: Statistics Collector not collecting server activities