Re: Setting oom_adj on linux?

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: Setting oom_adj on linux?
Дата
Msg-id 20100108170336.GR17756@tamriel.snowman.net
обсуждение исходный текст
Ответ на Re: Setting oom_adj on linux?  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
* Magnus Hagander (magnus@hagander.net) wrote:
> Do we need to make the value configurable? I'd certainly find it
> interesting to set backends to say 5 or something like that, that
> makes them less likely to be killed than any old "oops opened too big
> file in an editor"-process, but still possible to kill if the system
> is *really* running out of memory.

We do need to make it configurable, in at least the sense of being able
to control if it's done or not.  There are some environments where you
won't be able to set it.  Perhaps just handling failure gracefully would
work, but I'd be happier if you could just disable it in the config
file.
Thanks,
    Stephen

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

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: damage control mode
Следующее
От: Greg Stark
Дата:
Сообщение: Re: true serializability and predicate locking