Re: Memory-leak-like effect on insane query (postgres 8.1.6)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Memory-leak-like effect on insane query (postgres 8.1.6)
Дата
Msg-id 6658.1202758324@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Memory-leak-like effect on insane query (postgres 8.1.6)  (Brian Hurt <bhurt@janestcapital.com>)
Список pgsql-novice
Brian Hurt <bhurt@janestcapital.com> writes:
> So, I have a couple of questions:
> 1) What can I look at to see where the memory is going? Or can someone
> just tell me?
> 2) Is there any way I can prevent someone from crashing production in
> the same way (production is 8.1.10)?

Running the postmaster under a per-process-memory ulimit setting small
enough to avoid the wrath of the OOM killer would help both of these.
(You'd get an out-of-memory error instead of kill -9, and then looking
at the memory dump in the postmaster log would help with #1.)

            regards, tom lane

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

Предыдущее
От: Brian Hurt
Дата:
Сообщение: Re: Memory-leak-like effect on insane query (postgres 8.1.6)
Следующее
От: salman
Дата:
Сообщение: Question about CLUSTER