remove shmmax example in Linux section

Started by Nonameover 8 years ago4 messagesdocs
Jump to latest
#1Noname
gorka.gil@openbravo.com

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/9.5/static/kernel-resources.html
Description:

Hi,

I'm refer to this document:
https://www.postgresql.org/docs/9.5/static/kernel-resources.html

In "Linux" section, show an example of setting shmmax to 16GB, when this
change is not needed from pg 9.3.

Maybe just remove to avoid confusion?
Maybe also shmall also not needed ?

Regards,
Gorka

--
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs

#2Peter Eisentraut
peter_e@gmx.net
In reply to: Noname (#1)
Re: remove shmmax example in Linux section

On 7/21/17 06:18, gorka.gil@openbravo.com wrote:

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/9.5/static/kernel-resources.html
Description:

Hi,

I'm refer to this document:
https://www.postgresql.org/docs/9.5/static/kernel-resources.html

In "Linux" section, show an example of setting shmmax to 16GB, when this
change is not needed from pg 9.3.

Maybe just remove to avoid confusion?
Maybe also shmall also not needed ?

It's still needed in some cases, so I don't see why we can't have an
example.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

--
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs

#3Tom Lane
tgl@sss.pgh.pa.us
In reply to: Peter Eisentraut (#2)
Re: remove shmmax example in Linux section

Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:

On 7/21/17 06:18, gorka.gil@openbravo.com wrote:

In &quot;Linux&quot; section, show an example of setting shmmax to 16GB, when this
change is not needed from pg 9.3.

Maybe just remove to avoid confusion?
Maybe also shmall also not needed ?

It's still needed in some cases, so I don't see why we can't have an
example.

I wonder whether it'd make sense to recast those examples as increasing
semaphore-related settings, as that's much more likely to be needed these
days. I had to boost the SEMMNI setting on my workstation just last week.
(Admittedly, I had something like a dozen postmasters going, but still,
that was an actual change I had to make.) It'd be particularly valuable
to document this for Linux, with its opaque "kernel.sem" API for the
semaphore limits.

regards, tom lane

--
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs

#4Scott Marlowe
scott.marlowe@gmail.com
In reply to: Tom Lane (#3)
Re: remove shmmax example in Linux section

On Mon, Jul 31, 2017 at 11:48 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:

Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:

On 7/21/17 06:18, gorka.gil@openbravo.com wrote:

In &quot;Linux&quot; section, show an example of setting shmmax to 16GB, when this
change is not needed from pg 9.3.

Maybe just remove to avoid confusion?
Maybe also shmall also not needed ?

It's still needed in some cases, so I don't see why we can't have an
example.

I wonder whether it'd make sense to recast those examples as increasing
semaphore-related settings, as that's much more likely to be needed these
days. I had to boost the SEMMNI setting on my workstation just last week.
(Admittedly, I had something like a dozen postmasters going, but still,
that was an actual change I had to make.) It'd be particularly valuable
to document this for Linux, with its opaque "kernel.sem" API for the
semaphore limits.

Agreed. I ran into this many years ago with multiple clusters on a box
and it is definitely non-obvious.

--
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs