contrib/start-scripts/linux failing on RHEL 6 with ~9.3 because of missing oom_score_adj

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема contrib/start-scripts/linux failing on RHEL 6 with ~9.3 because of missing oom_score_adj
Дата
Msg-id CAB7nPqQcCSBDAWO45hH0FWDcHi_HcxHmyMLukiMzaDcd0W06sA@mail.gmail.com
обсуждение исходный текст
Ответы Re: contrib/start-scripts/linux failing on RHEL 6 with ~9.3 because of missing oom_score_adj  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Hi all,

Support for oom_score_adj has been added in kernel 2.6.36, a version
newer than 2.6.32-71 which is embedded in RHEL6, so the startup script
contrib/start-scripts/linux would fail because it does not check for
the presence of oom_score_adj before adding the value of OOM_SCORE_ADJ
to it.

We could argue that this is not directly a problem of PG itself as one
could just copy the startup script from the code tree to create its
own service script and fix it, still I am getting the feeling that we
should show a better logic with something like the patch attached.
Thoughts?
--
Michael

Вложения

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

Предыдущее
От: Kevin Grittner
Дата:
Сообщение: Re: BUG #12990: Missing pg_multixact/members files (appears to have wrapped, then truncated)
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Installton Error