pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
IpcMemoryCreate: shmget failed
2+ messages / 2 participants
[nested] [flat]

* IpcMemoryCreate: shmget failed
@ 2001-03-08 17:01  Michael Coffman <coffman@musc.edu>
  0 siblings, 1 reply; 2+ messages in thread

From: Michael Coffman @ 2001-03-08 17:01 UTC (permalink / raw)
  To: pgsql-admin

Whenever I start postmaster w/ greater than 64 buffers, I get the following
message:

Starting postgresql service: 010307.17:10:34.877  [1631] IpcMemoryCreate:
shmget failed (Invalid argument) key=5432001, size=2703360, permission=600
This type of error is usually caused by an improper
shared memory or System V IPC semaphore configuration.
For more information, see the FAQ and platform-specific
FAQ's in the source directory pgsql/doc or on our
web site at http://www.postgresql.org.
010307.17:10:34.877  [1631] FATAL 1:  ShmemCreate: cannot create region

I'm starting postmaster w/ this command:
su -l postgres -c '/usr/bin/postmaster -i -S -B 96 -D /var/lib/pgsql/data
-o -F'

I'm running RH Linux 7.0 and Postgress 7.0.2, the value of shmmax is
268435456. 

Thanks,
Mike Coffman
Medical University of SC




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: IpcMemoryCreate: shmget failed
@ 2001-03-08 19:04  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Michael Coffman <coffman@musc.edu>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2001-03-08 19:04 UTC (permalink / raw)
  To: Michael Coffman <coffman@musc.edu>; +Cc: pgsql-admin

Michael Coffman <coffman@musc.edu> writes:
> Whenever I start postmaster w/ greater than 64 buffers, I get the following
> message:

> Starting postgresql service: 010307.17:10:34.877  [1631] IpcMemoryCreate:
> shmget failed (Invalid argument) key=5432001, size=2703360, permission=600

Perhaps there already is a shm segment lying around that needs to be
removed?  See "ipcs" and "ipcrm".

7.1 will remove or work around a conflicting old shm segment, but I'm
not sure that 7.0 will.

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2001-03-08 19:04 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-03-08 17:01 IpcMemoryCreate: shmget failed Michael Coffman <coffman@musc.edu>
2001-03-08 19:04 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox