From: Tom Lane <tgl@sss.pgh.pa.us>
To: beyaRecords - The home Urban music <uzo@beya-records.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: 7.4.1 install problems on OS X 10.3
Date: Mon, 29 Dec 2003 18:00:53 -0500
Message-ID: <17534.1072738853@sss.pgh.pa.us> (raw)
In-Reply-To: <5D32E76C-3A40-11D8-BD9C-0003938366A4@beya-records.com>
References: <5D32E76C-3A40-11D8-BD9C-0003938366A4@beya-records.com>
beyaRecords - The home Urban music <uzo@beya-records.com> writes:
> I have been forced to re-buid postgresql 7.4.1 but am encountering a
> problem when i do the following:
> creating template1 database in /usr/local/pgsql/data/base/1... FATAL:
> could not create shared memory segment: Cannot allocate memory
> DETAIL: Failed system call was shmget(key=1, size=1081344, 03600).
You're out of shared memory. Did you shut down the old postmaster
before trying this? The default shared memory size on OS X is not large
enough to run more than one postmaster at a time (unless you reduce
7.4's default shared_buffers and max_connections quite a bit).
If you didn't shut down the old postmaster cleanly (eg you did kill -9
or some such) then the old shared memory segment may still be hanging
around even though it's not in use. OS X doesn't seem to have ipcs or
ipcrm, so there's no real easy way to check this, and no way to get rid
of such a segment except to reboot :-(.
regards, tom lane
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: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, uzo@beya-records.com
Subject: Re: 7.4.1 install problems on OS X 10.3
In-Reply-To: <17534.1072738853@sss.pgh.pa.us>
* 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