Skip site navigation (1) Skip section navigation (2)

[ADMIN] Cannot allocate greater than 28 Meg of shared

From: Vuthichai Ampornaramveth <V(dot)Ampornaramveth(at)computer(dot)org>
To: reina(at)nsi(dot)edu, <pgsql-admin(at)postgreSQL(dot)org>
Subject: [ADMIN] Cannot allocate greater than 28 Meg of shared
Date: 1998-11-23 18:37:36
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
Seem that you hit the maximum limit of Linux kernel
(32 Mbyte shared memory). See the file


then edit the constant "SHMMAX" and rebuild your

Hui :)

I have the new Postgres 6.4 installed. My system has 256 Meg of RAM with
512 Meg of swap space (PII/400 MHz; RH Linux 5.1). I am trying to
maximize the number of shared memory buffers for the postmaster. It
seems that if I get over 28 megs (-B3500), that the postmaster won't

 nohup postmaster -i -B4000 > regress.log &
[1] 737
[postgres(at)bigred ~]$ IpcMemoryCreate: shmget failed (Invalid argument)
key=5432001, size=33719840, permission=600
FATAL 1:  ShmemCreate: cannot create region

I think that with 256 Meg of RAM that I should be able to extend that
shared buffer size even further. Is this a limitation of Postgres or is
this just that my system only has 28 meg to spare? (Or am I doing
something wrong). 


Vuthichai Ampornaramveth      <vuthi(at)venus(dot)dtinet(dot)or(dot)jp>
Tokyo Institute of Technology  <vuthi(at)ctrl(dot)titech(dot)ac(dot)jp>


pgsql-admin by date

Next:From: G. Anthony ReinaDate: 1998-11-23 19:09:25
Subject: Re: [ADMIN] Cannot allocate greater than 28 Meg of shared
Previous:From: The Hermit HackerDate: 1998-11-23 17:31:12
Subject: RE: [INTERFACES] RE: your mail (Should have been problems with ')

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group