Re: More "IpcMemoryCreate: shmget failed" errors - Mailing list pgsql-bugs

From Tom Lane
Subject Re: More "IpcMemoryCreate: shmget failed" errors
Date
Msg-id 7975.961178580@sss.pgh.pa.us
Whole thread Raw
In response to More "IpcMemoryCreate: shmget failed" errors  (Sean Kelly <S.Kelly@newcastle.ac.uk>)
List pgsql-bugs
Sean Kelly <S.Kelly@newcastle.ac.uk> writes:
>     Any suggestions?  Is there a way that v7 could check for these old
> segments from v6 and remove them?  Is this even the problem here?  Any
> other ways to clear these suspected old segments at all?

Have you done any actual investigation --- like looked at the output
of ipcs -m -a to see whether there are old segments lying around?

The ipcclean script is not very bright, and in particular I doubt it
knows about all the formats that different platforms' versions of
ipcs produce.  So it may just be failing to recognize what has to be
removed.

The "Permission denied" error suggests that you may be trying to run
Postgres under a different userid than you were before.  If so, you'll
have to delete the old segments as that other user, or as root.

            regards, tom lane

pgsql-bugs by date:

Previous
From: The Hermit Hacker
Date:
Subject: Re: More "IpcMemoryCreate: shmget failed" errors
Next
From: Sean Kelly
Date:
Subject: Re: More "IpcMemoryCreate: shmget failed" errors