Re: kernel.shmmax and kernel.shmall for Linux server - Mailing list pgsql-general

From Tom Lane
Subject Re: kernel.shmmax and kernel.shmall for Linux server
Date
Msg-id 1551876.1613142857@sss.pgh.pa.us
Whole thread Raw
In response to kernel.shmmax and kernel.shmall for Linux server  (Matthias Apitz <guru@unixarea.de>)
List pgsql-general
Matthias Apitz <guru@unixarea.de> writes:
> I've read the doc https://www.postgresql.org/docs/13/kernel-resources.html
> but I'm still relatively clueless, what to set.

For modern PG versions on Linux, you basically shouldn't ever have to
touch those numbers.  I'd only start to worry if I saw server startup
failures.  These values do *not* constrain what you can set for
shared_buffers or the like; at most, they'd constrain how many PG
instances you can run on one machine.

            regards, tom lane



pgsql-general by date:

Previous
From: Noah Bergbauer
Date:
Subject: Preventing free space from being reused
Next
From: Michael Lewis
Date:
Subject: Re: Preventing free space from being reused