Re: /proc/self/oom_adj is deprecated in newer Linux kernels
В списке pgsql-hackers по дате отправления:
| От | Peter Eisentraut |
|---|---|
| Тема | Re: /proc/self/oom_adj is deprecated in newer Linux kernels |
| Дата | |
| Msg-id | 1316355543.12186.9.camel@vanquo.pezone.net обсуждение |
| Ответ на | /proc/self/oom_adj is deprecated in newer Linux kernels (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: /proc/self/oom_adj is deprecated in newer Linux kernels
|
| Список | pgsql-hackers |
On fre, 2011-09-16 at 10:57 -0400, Tom Lane wrote: > So it looks like it behooves us to cater for oom_score_adj in the > future. The simplest, least risky change that I can think of is to > copy-and-paste the relevant #ifdef code block in fork_process.c. > If we do that, then it would be up to the packager whether to #define > LINUX_OOM_ADJ or LINUX_OOM_SCORE_ADJ or both depending on the behavior > he wants. There are lots of reasons why that won't work: backports, forward ports, derivatives, custom kernels, distribution upgrades, virtual hosting. ISTM that we could at least query the currently used kernel version.
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера