Re: Shared memory usage calculations - Mailing list pgsql-docs

From Tom Lane
Subject Re: Shared memory usage calculations
Date
Msg-id 20737.1255205722@sss.pgh.pa.us
Whole thread Raw
In response to Re: Shared memory usage calculations  (Thom Brown <thombrown@gmail.com>)
List pgsql-docs
Thom Brown <thombrown@gmail.com> writes:
> My mistake.  I've never seen that before.  Running it on mine returns the
> following:

> ------ Shared Memory Segments --------
> key        shmid      owner      perms      bytes      nattch     status

> 0x0052e2c1 491520     postgres  600        235511808  4

Okay, so your actual shmem size is 235MB, of which 196 is shared_buffers
and 8 is wal_buffers, and the rest is related to max_connections and
various third-order parameters.  I'm not sure how precise the values
given in the docs are, but last I checked they weren't hugely wrong.

            regards, tom lane

pgsql-docs by date:

Previous
From: Thom Brown
Date:
Subject: Re: Shared memory usage calculations
Next
From: "Turner, Ian"
Date:
Subject: [PATCH] clarify username mapping in Kerberos and GSSAPI