Re: [HACKERS] Error: shmget failed

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Roberto Joao Lopes Garcia <roberto(at)mha(dot)com(dot)br>, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Error: shmget failed
Date: 1999-10-26 16:51:11
Message-ID: 199910261651.MAA26723@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Roberto Joao Lopes Garcia <roberto(at)mha(dot)com(dot)br> writes:
> > I tried to start postmaster and it report an error, see bellow:
> > IpcMemoryCreate: shmget failed (Invalid argument) key=5432001,
> > size=1073152, permission=600
> > FATAL 1: ShmemCreate: cannot create region
>
> As a quick hack you can start the postmaster with smaller-than-
> normal -B and -N (say -B 40 -N 20). Long term solution is to
> increase your kernel's SHMMAX limit to more than 1 megabyte.
>
> I thought we had adjusted the default -B and -N to stay just
> under a meg, which is the default SHMMAX value on many kernels.
> But it looks like someone chewed up some more shared memory when
> I wasn't looking :-(.

7.0 backend will point them to FAQ on such errors.

--
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 Mike Mascari 1999-10-26 17:16:19 Re: [HACKERS] Current source from CVS won't compile.
Previous Message Bruce Momjian 1999-10-26 16:49:57 Re: [HACKERS] Function-manager redesign: second draft (long)