Re: /proc/self/oom_adj is deprecated in newer Linux kernels

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: /proc/self/oom_adj is deprecated in newer Linux kernels
Дата
Msg-id 31429.1402415774@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: /proc/self/oom_adj is deprecated in newer Linux kernels  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: /proc/self/oom_adj is deprecated in newer Linux kernels
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Tue, Jun 10, 2014 at 11:29 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> If you think your users might want to give the postmaster OOM-exemption,
>> why don't you just activate the existing code when you build?  Resetting
>> the OOM setting to zero is safe whether or not the startup script did
>> anything to the postmaster's setting.

> The whole scenario here is that the user *doesn't want to recompile*.

Yeah, I understood that.  The question is why EDB isn't satisfied to just
add "-DLINUX_OOM_ADJ=0" to their build options, but instead would like to
dump a bunch of uncertainty on other packagers who might not like the
implications of a GUC.
        regards, tom lane



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

Предыдущее
От: Gurjeet Singh
Дата:
Сообщение: Re: /proc/self/oom_adj is deprecated in newer Linux kernels
Следующее
От: Andres Freund
Дата:
Сообщение: Re: /proc/self/oom_adj is deprecated in newer Linux kernels