Re: ERROR: out of memory DETAIL: Failed on request of size ???

Поиск
Список
Период
Сортировка
Искать
От
Tomas Vondra
Тема
Re: ERROR: out of memory DETAIL: Failed on request of size ???
Дата
Msg-id
1e2e6b63947528f693dc54d38a2d0ca9.squirrel@sq.gransy.com
Ответ на
Список
Дерево обсуждения
Re: ERROR: out of memory DETAIL: Failed on request of size ??? Brian Wong <bwong64@hotmail.com>
Re: ERROR: out of memory DETAIL: Failed on request of size ??? "Tomas Vondra" <tv@fuzzy.cz>
Re: ERROR: out of memory DETAIL: Failed on request of size ??? Brian Wong <bwong64@hotmail.com>
Re: ERROR: out of memory DETAIL: Failed on request of size ??? "Tomas Vondra" <tv@fuzzy.cz>
Re: ERROR: out of memory DETAIL: Failed on request of size ??? Igor Neyman <ineyman@perceptron.com>
Re: ERROR: out of memory DETAIL: Failed on request of size ??? Edson Richter <edsonrichter@hotmail.com>
Re: ERROR: out of memory DETAIL: Failed on request of size ??? "Tomas Vondra" <tv@fuzzy.cz>
Re: ERROR: out of memory DETAIL: Failed on request of size ??? "Christofer C. Bell" <christofer.c.bell@gmail.com>
Hi,

On 22 Listopad 2013, 20:09, Edson Richter wrote:
>
> Excuse me (or just ignore me) if it is a stupid question, but have you
> configured sysctl.conf accordingly?
> For instance, to use larget memory settings, I had to configure my EL as
> follows:
>
> # Controls the maximum shared segment size, in bytes
> kernel.shmmax = 68719476736
>
> # Controls the maximum number of shared memory segments, in pages
> kernel.shmall = 4294967296

This only influences shared memory, which is used for shared buffers (not
for memory allocated during query execution, as that's translated to plain
malloc). With sysctl.conf misconfigured, the database would not start at
all and you'd get a reasonable error message in the log, suggesting pretty
clearly where/how to fix it.

Tomas


В списке pgsql-general по дате отправления
От: Michael Paquier
Дата:
От: Vik Fearing
Дата:
FAQ