pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Chris Hoover <chrish@aweber.com>
Cc: Evan Rempel <erempel@uvic.ca>
Cc: pgsql-admin@lists.postgresql.org
Subject: Re: New PG14 server won't start with >2GB shared_buffers
Date: Sun, 26 Feb 2023 19:22:56 -0500
Message-ID: <99663.1677457376@sss.pgh.pa.us> (raw)
In-Reply-To: <F10C938D-C8CE-4BC9-BB41-770AEEDE5E4F@aweber.com>
References: <A446608A-42A3-4CBB-BD45-47BE009B0029@aweber.com>
	<4b583c4a-022f-f452-c0c8-0a932a6ee411@gmail.com>
	<C6285AA6-5195-4C8B-A599-401845EFD174@aweber.com>
	<4a41387e-516e-0782-6110-89c05a99d020@sqlexec.com>
	<20230225144930.GS9791@aart.rice.edu>
	<B6A7F0D1-D06E-43F1-8787-BE90ADB3D05D@aweber.com>
	<8b47c295-4b16-1a00-32e4-807103816475@uvic.ca>
	<1177969.1677342917@sss.pgh.pa.us>
	<F10C938D-C8CE-4BC9-BB41-770AEEDE5E4F@aweber.com>

Chris Hoover <chrish@aweber.com> writes:
> Got a chance to work on this today.  Here is what I’m getting.  I used the same command that is used when the config has small memory.

OK, so it still happens when interactive, which seems to exclude systemd.

Have you tried setting huge_pages = off, as somebody suggested upthread?
(The default setting of "try" ought to work anyway, but we've heard a few
reports suggesting sometimes it doesn't.)

Googling for ways to limit resources under Linux led me to mentions of
/etc/security/limits.conf, which might be worth checking.  The comments
in that say it only applies to logins via PAM, which should include your
interactive session and I'm not too sure about Patroni.

Otherwise I'm kind of running out of ideas :-(.  *Something* is clearly
interfering with your resource limits, but I don't know what.

			regards, tom lane





view thread (23+ messages)  latest in thread

Message-ID: <99663.1677457376@sss.pgh.pa.us>
Permalink:  ../99663.1677457376@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/99663.1677457376@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, chrish@aweber.com, erempel@uvic.ca, pgsql-admin@lists.postgresql.org
  Subject: Re: New PG14 server won't start with >2GB shared_buffers
  In-Reply-To: <99663.1677457376@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox