Re: Stats collector frozen? - Mailing list pgsql-general

From Magnus Hagander
Subject Re: Stats collector frozen?
Date
Msg-id 45B8F88C.2080006@hagander.net
Whole thread Raw
In response to Re: Stats collector frozen?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Stats collector frozen?
List pgsql-general
Tom Lane wrote:
> "Jeremy Haile" <jhaile@fastmail.fm> writes:
>> Unfortunately I don't have any debugging tools installed that would work
>> against postgres - although I'd be glad to do something if you could
>> tell me the steps involved.  I can reproduce the issue quite easily on
>> two different Windows machines (one is XP, the other is 2003).
>
> Sorry, I don't know anything about Windows debugging either.  Can you
> put together a test case that would let one of the Windows-using hackers
> reproduce it?

That would help a lot.


>> Do you know of any workaround other than restarting the whole server?
>> Can the collector be restarted individually?
>
> On Unix you can just 'kill -TERM' the collector process and the postmaster
> will start a new one without engaging in a database panic cycle.  Dunno
> what the equivalent is on Windows but it's probably possible.

You can use pg_ctl to send the int signal. If it's completely hung, that
may not work. In that case you can kill it from task manager, but that's
equiv of a kill -9, which means that the postmaster will restart all
backends.

//Magnus

pgsql-general by date:

Previous
From: "Merlin Moncure"
Date:
Subject: Re: sequence increment jumps?
Next
From: Tom Lane
Date:
Subject: Re: Stats collector frozen?