pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Arjun Ranade <ranade@nodalexchange.com>
Cc: Alvaro Aguayo Garcia-Rada <aaguayo@opensysperu.com>
Cc: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: PG10 - Out of shared memory / invalid memory alloc request size
Date: Tue, 14 Nov 2017 15:15:29 -0500
Message-ID: <19652.1510690529@sss.pgh.pa.us> (raw)
In-Reply-To: <CANrrCRx=A+rkHcDk9Mcn3FOPZYNgsSUn1zh0tZZ-0heeuxrDBw@mail.gmail.com>
References: <CANrrCRx_zGh3JSVLzVxhxL4-RghoM7OG3YX7ORukpK_33NQCmw@mail.gmail.com>
	<1623340727.404090.1510689186227.JavaMail.zimbra@opensysperu.com>
	<CANrrCRyF1Uk6ZDaroXfhfeLoP3o=sumwnWGagivs6imGvRPwJQ@mail.gmail.com>
	<1284888832.404212.1510689919110.JavaMail.zimbra@opensysperu.com>
	<CANrrCRx=A+rkHcDk9Mcn3FOPZYNgsSUn1zh0tZZ-0heeuxrDBw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

Arjun Ranade <ranade@nodalexchange.com> writes:
> We will try that.  I am wondering why we need to worry about this in pg10
> whereas we had no issues with shared memory in 9.4

What it looks like to me is something is miscomputing a memory request
size and asking for some silly amount of memory.  I think you're dealing
with a software bug, not inadequate configuration.

> Anecdotally it seems that these errors are happening when
> powa_take_snapshot() (Postgres workload analyzer) is running as well but
> I can't confirm that.

The first theory that comes to mind is that powa_take_snapshot() requires
some updates for PG10.  I do not know what that function is or where you
got it from, but if there's any C code involved, you need to discuss this
with its developer(s).

			regards, tom lane


-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



view thread (8+ messages)  latest in thread

Message-ID: <19652.1510690529@sss.pgh.pa.us>
Permalink:  ../19652.1510690529@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/19652.1510690529@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, ranade@nodalexchange.com, aaguayo@opensysperu.com
  Subject: Re: PG10 - Out of shared memory / invalid memory alloc request size
  In-Reply-To: <19652.1510690529@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox