Re: Query error: could not resize shared memory segment - Mailing list pgsql-general

From Thomas Munro
Subject Re: Query error: could not resize shared memory segment
Date
Msg-id CAEepm=2wXSfmS601nUVCftJKRPF=PRX+DYZxMeT8M2WwLSanVQ@mail.gmail.com
Whole thread Raw
In response to Re: Query error: could not resize shared memory segment  (Thuc Nguyen Canh <thucnguyencanh@gmail.com>)
Responses Re: Query error: could not resize shared memory segment  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Query error: could not resize shared memory segment  (Thuc Nguyen Canh <thucnguyencanh@gmail.com>)
List pgsql-general
On Wed, Jan 3, 2018 at 6:13 PM, Thuc Nguyen Canh
<thucnguyencanh@gmail.com> wrote:
> And here is the result from postgres container:
>
> 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.  That
error is working as designed.  You could figure out how to fix the
mount options, or you could disable parallelism with
max_parallel_workers_per_gather = 0.

-- 
Thomas Munro
http://www.enterprisedb.com


pgsql-general by date:

Previous
From: Thuc Nguyen Canh
Date:
Subject: Re: Query error: could not resize shared memory segment
Next
From: Tom Lane
Date:
Subject: Re: Query error: could not resize shared memory segment