PGSQL Bug - Mailing list pgsql-bugs

From Michael Kunzmann
Subject PGSQL Bug
Date
Msg-id 51E78119.4030608@michaelkunzmann.com
Whole thread Raw
Responses Re: PGSQL Bug  (David Johnston <polobo@yahoo.com>)
Re: PGSQL Bug  (bricklen <bricklen@gmail.com>)
List pgsql-bugs
Hello,

I've noticed the following issue when autostarting PostgreSQL under
Ubuntu 12.04 64bit by bootup. I'm using PostgreSQL 9.1.

A manual service start works (service postgresql start).

2013-07-18 06:44:12 CEST FATAL:  could not create shared memory segment:
Das Argument ist ung?ltig
2013-07-18 06:44:12 CEST DETAIL:  Failed system call was
shmget(key=5432001, size=41263104, 03600).
2013-07-18 06:44:12 CEST 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
41263104 bytes), reduce PostgreSQL's shared memory usage, perhaps by
reducing shared_buffers or max_connections.
    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.
2013-07-18 07:17:28 CEST FATAL:  could not create shared memory segment:
Das Argument ist ung?ltig
2013-07-18 07:17:28 CEST DETAIL:  Failed system call was
shmget(key=5432001, size=41263104, 03600).
2013-07-18 07:17:28 CEST 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
41263104 bytes), reduce PostgreSQL's shared memory usage, perhaps by
reducing shared_buffers or max_connections.
    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.

Thank you.

pgsql-bugs by date:

Previous
From: Sandeep Thakkar
Date:
Subject: Re: BUG #8308: Installation
Next
From: David Johnston
Date:
Subject: Re: PGSQL Bug