agora inbox for postgres@postgres.berkeley.edu  
help / color / mirror / Atom feed
From: Paul M. Aoki <aoki@cs.berkeley.edu>
To: Holger.Pfaff@mch.scn.de
Cc: postgres@postgres.Berkeley.EDU
Subject: Re: sun4m/ postmaster -B
Date: Thu, 18 Aug 94 10:58:59 -0700
Message-ID: <199408181758.KAA05111@nobozo.CS.Berkeley.EDU> (raw)
In-Reply-To: <9408181209.AA10269@grisu.mch.scn.de>

Holger.Pfaff@mch.scn.de writes:
> I'm trying to user zhe -B commandline option to postmaster to increase the
> number of buffers. Works ok on my SUN IPX (SunOS 4.1.3) even with a large 
> number of buffers. On the SUN LX (also SunOS 4.1.3) it returns:
> IpcMemoryCreate: memKey=123585129 , size=1292928 , permission=384IpcMemoryCreate: shmget(..., create, ...) failed: Invalid argument

on sunos 4, to get shared memory segments >1048576 bytes you need to 
reconfigure your kernel with an increased value for SHMMAX.  you ought
to be able to change it by (e.g.) dorking SHMSIZE in sys/shm.h or by 
redefining SHMMAX in conf.common/conf.c.  read your kernel config doc 
before doing anything.

in solaris it's a bit easier, you just tweak a file in /etc..
--
  Paul M. Aoki          |  University of California at Berkeley
  aoki@CS.Berkeley.EDU  |  Dept. of EECS, Computer Science Division (#1776) 
                        |  Berkeley, CA 94720-1776

==============================================================================
   To add/remove yourself to/from the POSTGRES mailing list: send mail with 
   the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU"

   If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and
   a human will deal with it.  DO NOT post to the "postgres" mailing list.
==============================================================================



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 using the --to and --cc options:
  reply via email

  To: postgres@postgres.berkeley.edu
  Cc: aoki@cs.berkeley.edu, Holger.Pfaff@mch.scn.de
  Subject: Re: sun4m/ postmaster -B
  In-Reply-To: <199408181758.KAA05111@nobozo.CS.Berkeley.EDU>

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

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