Re: Out of memory with "create extension postgis"

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Out of memory with "create extension postgis"
Дата
Msg-id 1193682.1595948121@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Out of memory with "create extension postgis"  ("Daniel Westermann (DWE)" <daniel.westermann@dbi-services.com>)
Ответы Re: Out of memory with "create extension postgis"  ("Daniel Westermann (DWE)" <daniel.westermann@dbi-services.com>)
Список pgsql-general
"Daniel Westermann (DWE)" <daniel.westermann@dbi-services.com> writes:
>> "Daniel Westermann (DWE)" <daniel.westermann@dbi-services.com> writes:
>>> The process eats all the available memory and finally dies:
>>> # create extension postgis;
>>> ERROR:  out of memory
>>> DETAIL:  Failed on request of size 8265691 in memory context "PortalContext".
>>> Time: 773569.877 ms (12:53.570)

> There is nothing in the log file except these (not from today, but the messages are always the same):
> 2020-07-03 16:52:16 CEST 53617 LOG:  server process (PID 54070) was terminated by signal 9: Killed

A process that was killed by the OOM killer would not have managed to
produce an "out of memory" ERROR report, so these two are different
symptoms.  You need to reproduce the first case, or you won't have
any luck setting an error breakpoint either.

If you can't manage to get back to that state, you might get somewhere
by waiting for the process to grow large and then attaching with gdb
and getting a stack trace.  That's a bit less reliable than the
errfinish approach, though.

            regards, tom lane



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

Предыдущее
От: "Daniel Westermann (DWE)"
Дата:
Сообщение: Re: Out of memory with "create extension postgis"
Следующее
От: "Daniel Westermann (DWE)"
Дата:
Сообщение: Re: Out of memory with "create extension postgis"