Re: [HACKERS] Error: shmget failed
| От | Tom Lane |
|---|---|
| Тема | Re: [HACKERS] Error: shmget failed |
| Дата | |
| Msg-id | 23209.940954924@sss.pgh.pa.us обсуждение |
| Ответ на | Error: shmget failed (Roberto Joao Lopes Garcia <roberto@mha.com.br>) |
| Ответы |
Re: [HACKERS] Error: shmget failed
|
| Список | 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 :-(.
regards, tom lane
В списке pgsql-hackers по дате отправления: