public inbox for [email protected]
help / color / mirror / Atom feedFrom: data tanger <[email protected]>
To: [email protected]
Subject: Issue with SHMALL parameter
Date: Tue, 18 Sep 2012 15:59:53 +0200
Message-ID: <[email protected]> (raw)
Hi,
I'm using postgresql 9.1 as my database server on a linux server that has 8 GB of RAM.
After I changed the shared_buffers parameter to 2GB, I get the following error when I try to start postgres:
FATAL: could not create shared memory segment: Cannot allocate memoryDETAIL: Failed system call was shmget(key=5432001, size=2221539328, 03600).
Here are the shmall and the shmax params of my server:
#cat /proc/sys/kernel/shmmax 68719476736
#cat /proc/sys/kernel/shmall 4294967296
So as you see, shmall is greater than the requested size by postgres. Anyone have and idea?
thank you
view thread (3+ messages) latest in thread
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: [email protected]
Cc: [email protected]
Subject: Re: Issue with SHMALL parameter
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox