Re: [HACKERS] IPC Memory problem with Postmaster on BSDi 4.x

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Roberth Andersson <roberth(at)jump-gate(dot)com>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] IPC Memory problem with Postmaster on BSDi 4.x
Date: 1999-07-31 04:11:19
Message-ID: 199907310411.AAA14136@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> IpcMemoryCreate: shmget failed (Invalid argument) key=5432001,
> size=1063936, permission=600
> FATAL 1: ShmemCreate: cannot create region
>
> To me it sounds like it is using some kind of wrong argument with shmget,
> but I don't know how to fix this. I hope someone can help me.
>
> This is what I get when I write ipcs ->
> Message Queues:
> T ID KEY MODE OWNER GROUP
>
> Shared Memory:
> T ID KEY MODE OWNER GROUP
> m 196608 5432210 --rwa------ postgres user
> m 196609 5432201 --rw------- postgres user
> m 983042 5432207 --rw------- postgres user
> m 1376259 5432010 --rwa------ postgres postgres
> m 131076 5432001 --rw------- postgres user
> m 786437 5432007 --rw------- postgres postgres
>
> Semaphores:
> T ID KEY MODE OWNER GROUP
>
> If it's anything I need to do with IPC or PostgreSQL, please let me know
> what and how, or maybe this is a bug ? I hope not, I love this database
> engine and really wanna start using 6.5.1 asap.

I am running BSDI here. Try using pgsql/bin/ipcclean to remove the
current shared memory stuff. Seems the old version did not clean up its
shared memory.

--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Oliver Elphick 1999-07-31 04:36:23 Re: [HACKERS] Re: [PORTS] RedHat6.0 & Alpha
Previous Message Roberth Andersson 1999-07-31 03:53:30 IPC Memory problem with Postmaster on BSDi 4.x