agora inbox for postgres@postgres.berkeley.edu  
help / color / mirror / Atom feed
sun4m/ postmaster -B
2+ messages / 2 participants
[nested] [flat]

* sun4m/ postmaster -B
@ 1994-08-18 12:09 Holger.Pfaff@mch.scn.de
  1994-08-18 17:58 ` Re: sun4m/ postmaster -B Paul M. Aoki <aoki@cs.berkeley.edu>
  0 siblings, 1 reply; 2+ messages in thread

From: Holger.Pfaff@mch.scn.de @ 1994-08-18 12:09 UTC (permalink / raw)
  To: legacy

Hi!

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:

hermes% postmaster -B 128
IpcMemoryCreate: memKey=123585129 , size=1292928 , permission=384IpcMemoryCreate: shmget(..., create, ...) failed: Invalid argument

postmaster -B 64  (default) works, but seems to run slow .. !
(patch 100726-17 is installed)

Any clues ?

- Holger
____________________________________________________________________________
 Holger Pfaff                               e-mail: Holger.Pfaff@mch.scn.de
 Siemens AG, TN EP A 44                     phone:  (+49)(89)722-47313
 D-81359 Muenchen                           fax:    (+49)(89)722-44322
 Germany
____________________________________________________________________________

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



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

* Re: sun4m/ postmaster -B
  1994-08-18 12:09 sun4m/ postmaster -B Holger.Pfaff@mch.scn.de
@ 1994-08-18 17:58 ` Paul M. Aoki <aoki@cs.berkeley.edu>
  0 siblings, 0 replies; 2+ messages in thread

From: Paul M. Aoki @ 1994-08-18 17:58 UTC (permalink / raw)
  To: Holger.Pfaff@mch.scn.de; +Cc: legacy

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



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


end of thread, other threads:[~1994-08-18 17:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1994-08-18 12:09 sun4m/ postmaster -B Holger.Pfaff@mch.scn.de
1994-08-18 17:58 ` Paul M. Aoki <aoki@cs.berkeley.edu>

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