shared memory problems - Mailing list pgsql-general

From Frank Siegemund
Subject shared memory problems
Date
Msg-id 200002021815.TAA14647@hokkaido.informatik.uni-rostock.de
Whole thread Raw
List pgsql-general
Hi,

I just compiled postgres on sparc solaris 2.6.
But as I tried to run postmaster I got this error msg:

IpcMemoryCreate: shmget failed (Invalid argument) key=5432010, size=120, permission=700
IpcMemoryIdGet: shmget failed (No such file or directory) key=5432010, size=120, permission=0
IpcMemoryAttach: shmat failed (Invalid argument) id=-2
FATAL 1:  AttachSLockMemory: could not attach segment

The FAQ says that this is because my system does not support
shared memory, but when I call ipcs it says:

IPC status from <running system> as of Wed Feb  2 19:08:48 2000
Message Queue facility not in system.
T         ID      KEY        MODE        OWNER    GROUP
Shared Memory:
Semaphores:
s          0   0x000187cf --ra-ra-ra-     root     root

That probably means the kernel supports shared memory. But still I get those
error messages.

Afterwards I tried it with postmaster -N 1 -B 16 in order to reduce
the amount of shared memory required by postmaster, but nothing changed.


Please, can you help me?

Thank you.

Best regards

    Frank

pgsql-general by date:

Previous
From: "Mark Alliban"
Date:
Subject: Poor performance - need advice
Next
From: "Mark Alliban"
Date:
Subject: Re: Poor performance - need advice