Re: PostgreSQL 8.0.6 crash

Поиск
Список
Период
Сортировка
От Mark Woodward
Тема Re: PostgreSQL 8.0.6 crash
Дата
Msg-id 18517.24.91.171.78.1139529198.squirrel@mail.mohawksoft.com
обсуждение исходный текст
Ответ на Re: PostgreSQL 8.0.6 crash  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: PostgreSQL 8.0.6 crash  (Ernst Herzberg <earny@net4u.de>)
Список pgsql-hackers
> Martijn van Oosterhout <kleptog@svana.org> writes:
>> When people talk about disabling the OOM killer, it doesn't stop the
>> SIGKILL behaviour,
>
> Yes it does, because the situation will never arise.
>
>> it just causes the kernel to return -ENOMEM for
>> malloc() much much earlier... (ie when you still actually have memory
>> available).
>
> Given the current price of disk, there is no sane reason not to have
> enough swap space configured to make this not-a-problem.  The OOM kill
> mechanism was a reasonable solution for running systems that were not
> expected to be too reliable anyway on small hardware, but if you're
> trying to run a 24/7 server you're simply incompetent if you don't
> disable it.

And people say I have STRONG opinions. Don't hold back Tom, let us know
what you really think.




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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Server Programming in C: palloc() and pfree()
Следующее
От: Ernst Herzberg
Дата:
Сообщение: Re: PostgreSQL 8.0.6 crash