pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: beyaNet Consultancy <beyanet@ntlworld.com>
To: pgsql-sql@postgresql.org
Subject: could not create shared memory segment: Invalid argument
Date: Tue, 16 Mar 2004 12:31:43 +0000
Message-ID: <E1E78611-7745-11D8-ACD7-0003938366A4@ntlworld.com> (raw)

Hi,
I have just installed the latest version of OS X panther (10.3.3) and 
am now getting the following error message:

postgres$ /usr/local/pgsql/bin/postmaster -i -D /usr/local/pgsql/data
FATAL:  could not create shared memory segment: Invalid argument
DETAIL:  Failed system call was shmget(key=5432001, size=10444800, 
03600).
HINT:  This error usually means that PostgreSQL's request for a shared 
memory segment exceeded your kernel's SHMMAX parameter.  You can either 
reduce the request size or reconfigure the kernel with larger SHMMAX.  
To reduce the request size (currently 10444800 bytes), reduce 
PostgreSQL's shared_buffers parameter (currently 1000) and/or its 
max_connections parameter (currently 100).
         If the request size is already small, it's possible that it is 
less than your kernel's SHMMIN parameter, in which case raising the 
request size or reconfiguring SHMMIN is called for.
         The PostgreSQL documentation contains more information about 
shared memory configuration.

Any ideas on how i can resolve this issue?

many thanks in advance




view thread (5+ messages)  latest in thread

Message-ID: <E1E78611-7745-11D8-ACD7-0003938366A4@ntlworld.com>
Permalink:  ../E1E78611-7745-11D8-ACD7-0003938366A4@ntlworld.com/
Also on:    postgresql.org/message-id/E1E78611-7745-11D8-ACD7-0003938366A4@ntlworld.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: beyanet@ntlworld.com
  Subject: Re: could not create shared memory segment: Invalid argument
  In-Reply-To: <E1E78611-7745-11D8-ACD7-0003938366A4@ntlworld.com>
  References: <E1E78611-7745-11D8-ACD7-0003938366A4@ntlworld.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