Re: PGSQL Bug - Mailing list pgsql-bugs

From bricklen
Subject Re: PGSQL Bug
Date
Msg-id CAGrpgQ-1S1+ZWvS1cG5t8zOsdVrHKGugeNf=NgBTOvQj7tzJnw@mail.gmail.com
Whole thread Raw
In response to PGSQL Bug  (Michael Kunzmann <mail@michaelkunzmann.com>)
List pgsql-bugs
On Thu, Jul 18, 2013 at 10:52 AM, Michael Kunzmann <mail@michaelkunzmann.com
> wrote:

>  Am 18.07.2013 17:33, schrieb bricklen:
>
>
> On Wed, Jul 17, 2013 at 10:46 PM, Michael Kunzmann <
> mail@michaelkunzmann.com> wrote:
>
>>
>> I've noticed the following issue when autostarting PostgreSQL under
>> Ubuntu 12.04 64bit by bootup. I'm using PostgreSQL 9.1.
>>
>> 2013-07-18 06:44:12 CEST FATAL:  could not create shared memory segment:
>>
>
> How much RAM do you have, and what does the output of the following
> command:
> sysctl -ar 'kernel.shm'
>
> Hello, I have 8GB of RAM.
>
> The values are:
> kernel.shm_rmid_forced = 0
> kernel.shmall = 2097152
> kernel.shmmax = 268435456
> kernel.shmmni = 4096
>
>
Set your kernel.shmall and kernel.shmmax higher in /etc/sysctl.conf. Eg.
kernel.shmall = 6442450944
kernel.shmmax = 6442450944

-- Reload after changing it
sudo sysctl -p

More details can be found here:
http://www.postgresql.org/docs/current/static/kernel-resources.html

pgsql-bugs by date:

Previous
From: jeff@pgexperts.com
Date:
Subject: BUG #8315: GRANTS allowed on extension functions, but not dumped by pg_dump
Next
From: Tom Lane
Date:
Subject: Re: BUG #8315: GRANTS allowed on extension functions, but not dumped by pg_dump