Re: How many postmasters should be running?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: How many postmasters should be running?
Дата
Msg-id 16914.1141150463@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: How many postmasters should be running?  ("Stock, Stuart" <Stuart.Stock@DrKW.com>)
Список pgsql-general
"Stock, Stuart" <Stuart.Stock@DrKW.com> writes:
> Perhaps I'm just seeing a moment-in-time snapshot of the postmaster
> fork()'ing to handle these connections, but because they were rejected, it
> never had time to rename itself to 'postgres'?

There's definitely a short window between the fork and the point where
the child process is able to change the way it appears in ps.
[ eyes code... ]  In particular, if you have log_hostname enabled,
it looks like we could wait for a DNS response (to the lookup of the
client IP address) before we change the ps status.

            regards, tom lane

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

Предыдущее
От: "Stock, Stuart"
Дата:
Сообщение: Re: How many postmasters should be running?
Следующее
От: Pelle Johansson
Дата:
Сообщение: PQisBusy returns true but no more data is received.