Re: Query error: could not resize shared memory segment

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Query error: could not resize shared memory segment
Дата
Msg-id 15383.1514957644@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Query error: could not resize shared memory segment  (Thomas Munro <thomas.munro@enterprisedb.com>)
Ответы Re: Query error: could not resize shared memory segment  (Thomas Munro <thomas.munro@enterprisedb.com>)
Список pgsql-general
Thomas Munro <thomas.munro@enterprisedb.com> writes:
> On Wed, Jan 3, 2018 at 6:13 PM, Thuc Nguyen Canh
> <thucnguyencanh@gmail.com> wrote:
>> mount | grep /dev/shm
>> => shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=65536k)

> Bingo.  Somehow your container tech is limiting shared memory.

If this is a common setup, maybe we're going to need a new section
under or near

https://www.postgresql.org/docs/current/static/kernel-resources.html#SYSVIPC

It's pretty annoying to have sweated blood to get out from under the
kernel's chosen-at-random SysV IPC limits, only to run into container
tmpfs limits that seem equally chosen with the aid of a dartboard.

            regards, tom lane


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

Предыдущее
От: Thomas Munro
Дата:
Сообщение: Re: Query error: could not resize shared memory segment
Следующее
От: Thuc Nguyen Canh
Дата:
Сообщение: Re: Query error: could not resize shared memory segment