Re: configurability of OOM killer

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: configurability of OOM killer
Дата
Msg-id 47A4CC25.8080501@dunslane.net
обсуждение исходный текст
Ответ на Re: configurability of OOM killer  ("Florian G. Pflug" <fgp@phlo.org>)
Ответы Re: configurability of OOM killer
Список pgsql-hackers

Florian G. Pflug wrote:
>
> Maybe we should just react equally brute-force, and just disable the 
> OOM-Killer for the postmaster if we're running on linux. It seems that 
> something like "echo -17 > /proc/<pid>/oom_adj" should do the trick.


That will protect the postmaster but none of the children. And it will 
be very fragile, as only root can do it.

>
> And maybe add a note to the docs telling people to disable memory 
> overcommit on dedicated database servers if that isn't already there...
>
>

It is there, and has been for years.

cheers

andrew


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

Предыдущее
От: David Fetter
Дата:
Сообщение: Re: Truncate Triggers
Следующее
От: Tom Lane
Дата:
Сообщение: Re: configurability of OOM killer