Re: shared memory leak in 7.0.2?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: shared memory leak in 7.0.2?
Дата
Msg-id 16521.967483582@sss.pgh.pa.us
обсуждение исходный текст
Ответ на shared memory leak in 7.0.2?  (pierre@kahuna.versions.com)
Список pgsql-sql
Pierre Padovani <ppadovan@tivoli.com> writes:
>   Here is the current output of that ipc command:

Looks pretty reasonable --- the three shmem segments look to be about
what postgres should be using (I take it you've got -B set to 350 or
so).

>  If postgres were to crash for some reason. Would the shared memory be
> left in never never land?

In theory the postmaster should release those segments when it's shut
down, or failing that reuse 'em when it's restarted.  We have heard
occasional reports of this failing to happen on some platforms; but
again, unless you're restarting the postmaster on a regular basis that
doesn't seem like it'd be the issue.  Anyway, keep an eye on things with
ipcs and we'll see what's going on...
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: shared memory leak in 7.0.2?
Следующее
От: Pierre Padovani
Дата:
Сообщение: Re: shared memory leak in 7.0.2?