Re: Query error: could not resize shared memory segment
От
Thuc Nguyen Canh
Тема
Re: Query error: could not resize shared memory segment
Дата
Msg-id
CAG903PpRcP7SgW1H72GF5Ukjd9E_8amsUX2YpKCNQNCvD=_O2g@mail.gmail.com
Ответ на
Re: Query error: could not resize shared memory segment (Thomas Munro)
Список
Дерево обсуждения
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 Thomas Munro <thomas.munro@enterprisedb.com>
Re: Query error: could not resize shared memory segment Thuc Nguyen Canh <thucnguyencanh@gmail.com>
Re: Query error: could not resize shared memory segment Thomas Munro <thomas.munro@enterprisedb.com>
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 Thomas Munro <thomas.munro@enterprisedb.com>
Re: Query error: could not resize shared memory segment Thuc Nguyen Canh <thucnguyencanh@gmail.com>
Thank you Thomas, I make it work with extra setting --shm-size=1g in my docker run script. On Wed, Jan 3, 2018 at 12:16 PM, Thomas Munro wrote: > On Wed, Jan 3, 2018 at 6:13 PM, Thuc Nguyen Canh > 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 по дате отправления