shared memory problems

From: Frank Siegemund <fsiegem(at)informatik(dot)uni-rostock(dot)de>
To: pgsql-general(at)postgreSQL(dot)org
Subject: shared memory problems
Date: 2000-02-02 18:15:37
Message-ID: 200002021815.TAA14647@hokkaido.informatik.uni-rostock.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-general by date

  From Date Subject
Next Message Mark Alliban 2000-02-02 18:16:02 Re: Poor performance - need advice
Previous Message Mark Alliban 2000-02-02 17:33:34 Poor performance - need advice