Thread: Can't starting postmaster with -B 512 Option

Can't starting postmaster with -B 512 Option

From
"송기원"
Date:
System Spec
    SUN OS 2.6
    PostgreSQL 6.3 Version

[Error Message]
sol% postmaster -B 512 -S -D /usr/local/pgsql/data
IpcMemoryCreate: memKey=5432001 , size=4501144 ,
permission=384IpcMemoryCreate: shmget(..., create, ...) failed: Invalid
argument
This type of error is usually caused by improper
shared memory or System V IPC semaphore configuration.
See the FAQ for more detailed information
FATAL 1:  ShmemCreate: cannot create region

I don't know why error occured....
Please.. Help me.....




Re: Can't starting postmaster with -B 512 Option

From
Tom Lane
Date:
"=?euc-kr?B?vNux4r/4?=" <schiva@m2000.co.kr> writes:
> System Spec
>     SUN OS 2.6
>     PostgreSQL 6.3 Version
>
> sol% postmaster -B 512 -S -D /usr/local/pgsql/data
> FATAL 1:  ShmemCreate: cannot create region

> I don't know why error occured....

Probably your system has a small limit on the amount of memory that can
be reserved as shared memory.  This is a tunable kernel parameter on
most of the systems I know, but I don't know the exact procedure for
changing it on SunOS --- see your sysadmin, or start reading the manuals
if you are the sysadmin...

BTW, you should consider upgrading to Postgres 6.4.

            regards, tom lane