Re: many idle processes

Поиск
Список
Период
Сортировка
От Doug McNaught
Тема Re: many idle processes
Дата
Msg-id m34ref50hd.fsf@varsoon.wireboard.com
обсуждение исходный текст
Ответ на many idle processes  ("John Liu" <johnl@synthesys.com>)
Список pgsql-hackers
"John Liu" <johnl@synthesys.com> writes:

> I tried to understand what causes
> too many pgsql idle processes. Can
> postmaster automatically aged and
> cleaning up those unused idle process?

Those processes are attached to open client connections.  If you don't
like them, change your client to close connections when it's not using
them, but your app will be slower since creating a new connection
(and backend process) takes some time.

> Is there a catalog to track those
> psql processes - what their functions, who
> issues, etc.?

There is one backend process per open client connection, plus the
postmaster, which handles creating new connections.

-Doug


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

Предыдущее
От: "Zeugswetter Andreas SB SD"
Дата:
Сообщение: Re: Rules and Views
Следующее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: Trim the Fat (Was: Re: Open 7.3 items )