shared_buffers revisited

From: "Thalis A(dot) Kalfigopoulos" <thalis(at)cs(dot)pitt(dot)edu>
To: pgsql-general(at)postgresql(dot)org
Subject: shared_buffers revisited
Date: 2001-07-20 21:07:56
Message-ID: Pine.LNX.4.21.0107201705270.12926-100000@aluminum.cs.pitt.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Another minor issue that has come to my attention is that when I define
shared_buffers=40000
I assume that it'll need a shm segment of 40000*8192=327680000 bytes
And so I set /proc/sys/kernel/shmall and shmmax accordingly only to find out that postmaster failes to start because it requests a shmsegment of 336404480 bytes. Where is the fallacy in my math?

TIA,
thalis

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2001-07-20 21:14:44 Re: RPM source files should be in CVS (was Re: psql -l)
Previous Message Tom Lane 2001-07-20 20:52:59 Re: shared_buffer=2*max_connections?