Re: New PG14 server won't start with >2GB shared_buffers - Mailing list pgsql-admin

From MichaelDBA
Subject Re: New PG14 server won't start with >2GB shared_buffers
Date
Msg-id a4638ea7-5e3f-a78b-8729-f440b52b0d54@sqlexec.com
Whole thread Raw
In response to Re: New PG14 server won't start with >2GB shared_buffers  (Jeff Janes <jeff.janes@gmail.com>)
Responses Re: New PG14 server won't start with >2GB shared_buffers
List pgsql-admin
I sincerely apologize.  I should have read this stuff more closely.

Jeff Janes wrote on 2/25/2023 9:51 AM:
On Sat, Feb 25, 2023 at 9:05 AM MichaelDBA <MichaelDBA@sqlexec.com> wrote:
I just don't get what all this fuss is about trying to get PG up on the smallest possible values for shared_buffers, especially considering this person has 1 TB of memory?

The fuss is why he can't make it bigger.  No one wants to make it as small as possible.

Chris Hoover wrote on 2/25/2023 8:07 AM:

Here is shmall:
kernel.shmall = 17179869184

How did that get so small?  On my Ubuntu18.04, it comes out of the box at 2^64 - 1.  Why would anyone have set about making it smaller?  Now the current value should still be big enough, but I wonder what else got changed while someone was monkeying with things that didn't need to be monkeyed with.

Cheers,

Jeff


Regards,

Michael Vitale

Michaeldba@sqlexec.com

703-600-9343 


Attachment

pgsql-admin by date:

Previous
From: Jeff Janes
Date:
Subject: Re: New PG14 server won't start with >2GB shared_buffers
Next
From: Chris Hoover
Date:
Subject: Re: New PG14 server won't start with >2GB shared_buffers