From: Michael Teter <michael_teter@yahoo.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: rocael@usa.net
Cc: pgsql-sql@postgresql.org
Subject: Re: shared memory problem
Date: Mon, 13 Nov 2000 04:17:43 -0800 (PST)
Message-ID: <20001113121743.87597.qmail@web10004.mail.yahoo.com> (raw)
I'm not sure if this is related, and unfortunately I
don't have the specific error in front of me, but on
occasion when I restart postgresql, using
$ /etc/rc.d/init.d/postgresql restart
I'll see the shutdown message, then I'll see a shared
memory creation error, which I think looked similar to
the one below.
In the past I would just boot the box, and postgresql
naturally would start up just fine. But last time it
happened I waited a minute, then attempted the restart
again (which obviously would just do a start, as
postgresql wasn't running because of previous
failure.) It started up fine that time.
Perhaps there's some issue with the shared memory not
being freed quickly enough by the kernel?
michael
--- Tom Lane <tgl@sss.pgh.pa.us> wrote:
> <rocael@usa.net> writes:
> > /usr/local/pgsql/bin/postmaster -B 1000 -o "-S
> 2000" -S -D
> > /usr/local/pgsql/data
>
> > and it says:
> > IpcMemoryCreate: shmget failed (Invalid argument)
> key=5432001,
> > size=8899584,permission=600
> > This type of erro is usually caused by an improper
> shared memory or System V
> > IPC semaphore configuration. Form more
> information....
>
> Most likely your kernel isn't set to allow shared
> memory blocks as
> large as 8M.
>
> regards, tom lane
__________________________________________________
Do You Yahoo!?
Yahoo! Calendar - Get organized for the holidays!
http://calendar.yahoo.com/
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: michael_teter@yahoo.com, tgl@sss.pgh.pa.us, rocael@usa.net
Subject: Re: shared memory problem
In-Reply-To: <20001113121743.87597.qmail@web10004.mail.yahoo.com>
References: <20001113121743.87597.qmail@web10004.mail.yahoo.com>
* 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