Re: Setting oom_adj on linux?

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Setting oom_adj on linux?
Дата
Msg-id 4B476CA5.5080007@dunslane.net
обсуждение исходный текст
Ответ на Re: Setting oom_adj on linux?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers

Tom Lane wrote:
> I don't want to go to the trouble of creating (and documenting) a
> configure option for this.  Much less a GUC ;-)
>
> What I suggest is that we do something like
>
>     #ifdef LINUX_OOM_ADJ
>     ...
>     fprintf(oom, "%d\n", LINUX_OOM_ADJ);
>     ...
>     #endif
>
> Then, somebody who wants the feature would build with, say,
>     -DLINUX_OOM_ADJ=0
> or another value if they want that.
>             
>   

+1 for this. Looks like a sound approach.

cheers

andrew


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Add .gitignore files to CVS?
Следующее
От: Greg Stark
Дата:
Сообщение: Re: RFC: PostgreSQL Add-On Network