Skip site navigation (1) Skip section navigation (2)

could not create shared memory segment: Invalid argument

From: beyaNet Consultancy <beyanet(at)ntlworld(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: could not create shared memory segment: Invalid argument
Date: 2004-03-16 12:31:43
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugspgsql-sql
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, 
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


pgsql-bugs by date

Next:From: Theodore PetroskyDate: 2004-03-16 12:36:58
Subject: os x update to 10.3.3
Previous:From: Sean ChittendenDate: 2004-03-15 23:45:04
Subject: Re: \dn [PATTERN] handling not quite right...

pgsql-sql by date

Next:From: noorDate: 2004-03-16 12:33:57
Subject: flat file database to postgres
Previous:From: cristiDate: 2004-03-16 12:13:57
Subject: conversion of postgres database to oracle

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group