Re: Stats collector frozen?

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: Stats collector frozen?
Дата
Msg-id 45B8F88C.2080006@hagander.net
обсуждение исходный текст
Ответ на Re: Stats collector frozen?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Stats collector frozen?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: "Merlin Moncure"
Дата:
Сообщение: Re: sequence increment jumps?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Stats collector frozen?