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

From Tom Lane
Subject Re: Query error: could not resize shared memory segment
Date
Msg-id 1108.1514954390@sss.pgh.pa.us
Whole thread Raw
In response to Re: Query error: could not resize shared memory segment  (Thomas Munro <thomas.munro@enterprisedb.com>)
Responses Re: Query error: could not resize shared memory segment  (Thomas Munro <thomas.munro@enterprisedb.com>)
List pgsql-general
Thomas Munro <thomas.munro@enterprisedb.com> writes:
> So you have 16GB of RAM and here we're failing to posix_fallocate()
> 50MB (actually we can't tell if it's the ftruncate() or
> posix_fallocate() call that failed, but the latter seems more likely
> since the former just creates a big hole in the underlying tmpfs
> file).  Can you share the query plan (EXPLAIN SELECT ...)?

I wonder if OP is running with a tmpfs size setting that's less than
the traditional Linux default of half of physical RAM size.

            regards, tom lane


pgsql-general by date:

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