Re: hung postmaster?

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: hung postmaster?
Дата
Msg-id 20050216223828.GE6487@svana.org
обсуждение исходный текст
Ответ на Re: hung postmaster?  ("Ed L." <pgsql@bluepolka.net>)
Ответы Re: hung postmaster?  ("Ed L." <pgsql@bluepolka.net>)
Список pgsql-general
On Wed, Feb 16, 2005 at 11:41:35AM -0700, Ed L. wrote:
> Question:  Am I doing all I can to avoid corruption with the
> following procedure to shutdown a 7.4.6 cluster with a hung
> postmaster?  Suggestions?

What is the state of the processes in ps? D, S, R, ?? That should at
least give a hint as to what it *is* doing...

> 1.  SIGTERM non-postmaster processes
> 2.  SIGINT non-postmasters
> 3.  SIGQUIT non-postmaster
> 4.  SIGTERM postmaster
> 5.  SIGINT postmaster
> 6.  SIGQUIT postmaster
> 7.  SIGKILL postmaster

The options you can give to pg_ctl should cover all the
possibilities... There's also a page in the docs as to what each
process does with each signal...

Hope this helps,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

Вложения

В списке pgsql-general по дате отправления:

Предыдущее
От: "Ian Harding"
Дата:
Сообщение: Re: Schema comparison tool
Следующее
От: Rich Shepard
Дата:
Сообщение: Re: Schema comparison tool