Re: [HACKERS] Error: shmget failed - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] Error: shmget failed
Date
Msg-id 199910261651.MAA26723@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] Error: shmget failed  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [HACKERS] Error: shmget failed - SOLVED!  (Roberto Joao Lopes Garcia <roberto@mha.com.br>)
List pgsql-hackers
> Roberto Joao Lopes Garcia <roberto@mha.com.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@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Mike Mascari
Date:
Subject: Re: [HACKERS] Current source from CVS won't compile.
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Function-manager redesign: second draft (long)