pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Ribe <scott_ribe@elevated-dev.com>
To: Ryan King - NOAA Affiliate <ryan.king@noaa.gov>
Cc: Scott Whitney <scott@journyx.com>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: could not create shared memory segment: Invalid argument
Date: Mon, 13 Jul 2015 18:43:18 -0600
Message-ID: <9CBF373D-FFB2-4094-8316-176B1D4F936D@elevated-dev.com> (raw)
In-Reply-To: <CAJAJqWFwm5wrqD4hWtmooXiR9eK9xuqs9pvfOZG8ZKBCPMTXbQ@mail.gmail.com>
References: <68lu4k8tv291mdsfmpf9wvf5.1436832911969@email.android.com>
	<CAJAJqWFwm5wrqD4hWtmooXiR9eK9xuqs9pvfOZG8ZKBCPMTXbQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

On Jul 13, 2015, at 6:26 PM, Ryan King - NOAA Affiliate <ryan.king@noaa.gov> wrote:
> 
> # Controls the maximum shared segment size, in bytes
> #kernel.shmmax = 68719476736 - orginal
> #kernel.shmmax = 16833540096
> kernel.shmmax = 168
> 
> # Controls the maximum number of shared memory segments, in pages
> #kernel.shmall = 4294967296  - orginal
> kernel.shmall = 4109751

Wait, you need to be going *UP* on these. They need to be >= postgres's shared buffers + some minor other stuff.

-- 
Scott Ribe
scott_ribe@elevated-dev.com
http://www.elevated-dev.com/
https://www.linkedin.com/in/scottribe/
(303) 722-0567 voice







-- 
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 (10+ messages)  latest in thread

Message-ID: <9CBF373D-FFB2-4094-8316-176B1D4F936D@elevated-dev.com>
Permalink:  ../9CBF373D-FFB2-4094-8316-176B1D4F936D@elevated-dev.com/
Also on:    postgresql.org/message-id/9CBF373D-FFB2-4094-8316-176B1D4F936D@elevated-dev.com

 · 

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-performance@postgresql.org
  Cc: scott_ribe@elevated-dev.com, ryan.king@noaa.gov, scott@journyx.com, pgsql-admin@postgresql.org
  Subject: Re: could not create shared memory segment: Invalid argument
  In-Reply-To: <9CBF373D-FFB2-4094-8316-176B1D4F936D@elevated-dev.com>

* 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