Return-Path: owner-postman
Received: from localhost.Berkeley.EDU (localhost.Berkeley.EDU [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.9/8.6.3) with SMTP id KAA05121 for postgres-redist; Thu, 18 Aug 1994 10:59:00 -0700
Resent-From: POSTGRES mailing list <postman@postgres.Berkeley.EDU>
Resent-Message-Id: <199408181759.KAA05121@nobozo.CS.Berkeley.EDU>
Sender: owner-postman@postgres.Berkeley.EDU
X-Return-Path: owner-postman
Received: from localhost.Berkeley.EDU (localhost.Berkeley.EDU [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.9/8.6.3) with SMTP id KAA05111; Thu, 18 Aug 1994 10:58:59 -0700
Message-Id: <199408181758.KAA05111@nobozo.CS.Berkeley.EDU>
X-Authentication-Warning: nobozo.CS.Berkeley.EDU: Host localhost.Berkeley.EDU didn't use HELO protocol
From: aoki@cs.berkeley.edu (Paul M. Aoki)
To: Holger.Pfaff@mch.scn.de
Cc: postgres@postgres.Berkeley.EDU
Subject: Re: sun4m/ postmaster -B 
Reply-To: aoki@cs.berkeley.edu (Paul M. Aoki)
In-reply-to: Your message of Thu, 18 Aug 94 14:09:45 +0200 
	     <9408181209.AA10269@grisu.mch.scn.de> 
Date: Thu, 18 Aug 94 10:58:59 -0700
X-Sender: aoki@postgres.Berkeley.EDU
Resent-To: postgres-redist@postgres.Berkeley.EDU
X-Mts: smtp
Resent-Date: Thu, 18 Aug 94 10:59:00 -0700
Resent-XMts: smtp

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.
==============================================================================
