Re: Setting oom_adj on linux?

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: Setting oom_adj on linux?
Дата
Msg-id 20100108172439.GV17756@tamriel.snowman.net
обсуждение исходный текст
Ответ на Re: Setting oom_adj on linux?  (Alex Hunsaker <badalex@gmail.com>)
Ответы Re: Setting oom_adj on linux?  (Alex Hunsaker <badalex@gmail.com>)
Список pgsql-hackers
Alex,

* Alex Hunsaker (badalex@gmail.com) wrote:
> As long as the VM/container you are running under wont kill postmaster
> for trying to access proc-- the patch I posted should work fine.  It
> just ignores any error (I assumed you might be running in a chroot
> without proc or some such).

As I recall, oom_adj wasn't visible in the container because you
explicitly set what proc entries processes can have access to when using
VServers, and OpenSSH didn't handle that cleanly.  Guess what I'm just
saying is "don't just assume everything is as it would be on a 'normal'
system when dealing with /proc and friends", and, of course, test, test,
test when you're talking about back-porting things.
Thanks,
    Stephen

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Setting oom_adj on linux?
Следующее
От: Greg Stark
Дата:
Сообщение: Re: true serializability and predicate locking