Re: How many postmasters should be running?

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: How many postmasters should be running?
Дата
Msg-id 20060228025920.GA81554@winnie.fuhr.org
обсуждение исходный текст
Ответ на How many postmasters should be running?  ("Stock, Stuart" <Stuart.Stock@DrKW.com>)
Ответы Re: How many postmasters should be running?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Mon, Feb 27, 2006 at 09:05:51PM -0500, Stock, Stuart wrote:
> A few minutes ago, we were surprised to find a second postmaster process
> running on our database machine as a child of the original postmaster. The
> child postmaster was around for about a minute then disappeared. This is a
> Opteron machine running RedHat AS4 with Postgres 8.1.2.
>
> Does the postmaster process ever spawn a child postmaster? Is this normal?

Each connection causes the postmaster to fork a new process to
handle that connection.  When the connection ends so does that
process; that might be what you saw.  For more information see the
"Monitoring Database Activity" and postmaster documentation:

http://www.postgresql.org/docs/8.1/interactive/monitoring.html
http://www.postgresql.org/docs/8.1/interactive/app-postmaster.html

--
Michael Fuhr

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

Предыдущее
От: Randy Yates
Дата:
Сообщение: Re: postgresql documentation
Следующее
От: "Natasha Galkina"
Дата:
Сообщение: Re: rotate records