Re: unexpected shutdown

Поиск
Список
Период
Сортировка
От developer@wexwarez.com
Тема Re: unexpected shutdown
Дата
Msg-id 1336.192.168.1.243.1182200284.squirrel@mail.wexwarez.com
обсуждение исходный текст
Ответ на Re: unexpected shutdown  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: unexpected shutdown  (Marco Colombo <pgsql@esiway.net>)
Re: unexpected shutdown  (Marco Colombo <marco@esi.it>)
Список pgsql-general
> developer@wexwarez.com writes:
>> My database has shutdown several times in the last couple days.  I have
>> no
>> idea why.  I am running centos and I have not rebooted the server or
>> made
>> any configuration changes.
>
> So in particular, you didn't disable memory overcommit?
>
>> LOG:  server process (PID 501) was terminated by signal 9
>
> If you didn't issue a manual kill -9, then this is almost certainly a
> trace of the kernel OOM killer at work.  Google for "OOM kill" to learn
> more, or see "memory overcommit" in the PG docs.
>
> Memory overcommit is evil on a server.
>
>             regards, tom lane
>


You guys were right
:Jun 17 11:04:57 kernel: Out of Memory: Killed process 24928 (postmaster).

I did not disable memory overcommit.  I guess this is something I will
have to do.  I have actually never seen this before or heard of memory
overcommit.  I am surprised a setting like this comes enabled by default.
I read a bit about it and it seems to make sense to disable it, but from
practical experience do you know of any negative side effects?


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Apparent Wraparound?
Следующее
От: Garry Saddington
Дата:
Сообщение: Re: time without time zone