pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dronamraju Rajesh <drajesh80@yahoo.com>
To: pgsql-admin@postgresql.org
To: pgsql-sql@postgresql.org
Subject: shmget fails for min buffers of postmaster also on solaris 7 .....
Date: Mon, 18 Sep 2000 00:53:58 -0700 (PDT)
Message-ID: <20000918075358.23366.qmail@web901.mail.yahoo.com> (raw)

Dear All,

   I have installed postgres 7.0.2 on solaris 7 on an
intel based machine. But, when I am trying to run the
postmaster( the database startup) with minimum buffers
also it gives the following error

****************
IpcMemoryCreate: shmget failed (Invalid argument)
key=5432001, size=1104896, per
mission=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.
FATAL 1:  ShmemCreate: cannot create region  
****************

Then I have read the POSTGRES on SOLARIS and other
FAQ's and then edited the /etc/system file and added
the following entries to increase the shared memory
size to 128MB.

********
set shmsys:shminfo_shmmax=268435456
set shmsys:shminfo_shmmin=200
set shmsys:shminfo_shmmni=200
set shmsys:shminfo_shmseg=200
set semsys:seminfo_semmap=250
set semsys:seminfo_semmni=500
set semsys:seminfo_semmns=500
set semsys:seminfo_semmsl=500
set semsys:seminfo_semmnu=500
set semsys:seminfo_semume=100
********

Inspite of this I am unable to start the postmaster.
Can anybody Please suggest me a solution for this
problem. It would be of great help if someone can
suggest me what all changes in the OS or postgres are
to be made for starting postmaster with 512 buffers.

Thanks for all suggestions.

Thanks & Regards
Rajesh.

__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/



view thread (2+ messages)  latest in thread

Message-ID: <20000918075358.23366.qmail@web901.mail.yahoo.com>
Permalink:  ../20000918075358.23366.qmail@web901.mail.yahoo.com/
Also on:    postgresql.org/message-id/20000918075358.23366.qmail@web901.mail.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: drajesh80@yahoo.com, pgsql-admin@postgresql.org
  Subject: Re: shmget fails for min buffers of postmaster also on solaris 7 .....
  In-Reply-To: <20000918075358.23366.qmail@web901.mail.yahoo.com>
  References: <20000918075358.23366.qmail@web901.mail.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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