Search Postgresql Archives

Re: Stats collector frozen?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tom Lane wrote:
> "Jeremy Haile" <jhaile@xxxxxxxxxxx> 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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux