Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pVlGE-0002kq-Rd for pgsql-admin@arkaria.postgresql.org; Sat, 25 Feb 2023 03:30:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pVlGB-0005OW-HW for pgsql-admin@arkaria.postgresql.org; Sat, 25 Feb 2023 03:30:07 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pVlGB-0005OL-5M for pgsql-admin@lists.postgresql.org; Sat, 25 Feb 2023 03:30:07 +0000 Received: from mail-qv1-xf30.google.com ([2607:f8b0:4864:20::f30]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pVlG4-000175-Pa for pgsql-admin@lists.postgresql.org; Sat, 25 Feb 2023 03:30:06 +0000 Received: by mail-qv1-xf30.google.com with SMTP id y3so851483qvn.4 for ; Fri, 24 Feb 2023 19:30:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aweber.com; s=2018090500; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:from:to:cc:subject:date:message-id :reply-to; bh=ExKxOvZXykBBr68iwvGvXpGKsAqa8ff0OuoxtBlQpUA=; b=H8c7dffs+mRHwHKUDG42mZHEcXCVUK5jkQ80e6l/GQL4E1Usei19ffvgrXef2xAKaC ugizLTuq7d4RrpAXp3tNScY/Xev3gqg0AVo4hyNxklSFbLiepHinGko6M+nHKl2CinD2 ixqfGHTeJ+GK9v78hZe6SKoov7LRy6KQLTdwWbVvdSuhMhdvwMekUjMGS5M4TR5exwYm 2Koshv0AlTWjmLtkPVnbZWMDs3LBagTc1UR0iaqQJWlUUd9UYUihrYdXiQyf/6ZCkzja dhuKELmYln6al4vAtelXfRoPITZ66ftKohOSqAt8WQ3KzdG79YfKZORpaOcTgDRKY5pz fa0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ExKxOvZXykBBr68iwvGvXpGKsAqa8ff0OuoxtBlQpUA=; b=6YZ10dJjAPTN23fC9CS55DtSjYXkCx9wQTCqDLgKFMqTNc3bTnMaNweOonnQrw/3bn UdDnDWuHuqx4/GjHFDJpsdrMiv5ysp0vYe6B740/p0delO/y1vMANUAt5PL2niqIwhoJ YIbjUddHnErnBeD9lbjmYk6saJL+CiM4/GsllADRtOtU4s3vnNC6BJgzuu+05YKwmTXZ VAr7nKvI7/ix2nO9LsQAdY/4Qg/QhDeHvr08jJRW57Amw3pLv8GnLRL2Pyam+tWCLwp6 Y2m5NMmNrSR/FwfUvAuc+YeF4srG6Qzm7RRW1s9vS3traWXsST2kFBA/EeHuZrbC9dwu likA== X-Gm-Message-State: AO0yUKUvOxYDhT8T8eQmHTgABkd15VK1BcA9NgeQkhyRVO0F5i0gaf3B CcOsphMxRF1Bzbjion9oGLI/o1++YiUtdXlP X-Google-Smtp-Source: AK7set8v5xjdQnIHjdjoyAZ5KsfXYhu2WkhYKMoaLkGP0McsLTOnUqjNnliIx3lt6ge5PQ58BC8lsg== X-Received: by 2002:a05:6214:5189:b0:56e:ac19:a879 with SMTP id kl9-20020a056214518900b0056eac19a879mr30351372qvb.8.1677295799471; Fri, 24 Feb 2023 19:29:59 -0800 (PST) Received: from smtpclient.apple ([2607:fb90:ee5e:2589:9dd3:cdd:8925:9882]) by smtp.gmail.com with ESMTPSA id o22-20020a05620a15d600b0074235386738sm544122qkm.37.2023.02.24.19.29.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 24 Feb 2023 19:29:59 -0800 (PST) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Chris Hoover Mime-Version: 1.0 (1.0) Subject: Re: New PG14 server won't start with >2GB shared_buffers Date: Fri, 24 Feb 2023 22:29:47 -0500 Message-Id: <4D0088DC-C22D-4459-A793-72FC7402DC94@aweber.com> References: <1088615.1677291592@sss.pgh.pa.us> Cc: pgsql-admin@lists.postgresql.org In-Reply-To: <1088615.1677291592@sss.pgh.pa.us> To: Tom Lane X-Mailer: iPhone Mail (20B101) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is bare metal. Thanks, Chris Hoover=20 Sent from my iPhone > On Feb 24, 2023, at 21:19, Tom Lane wrote: >=20 > =EF=BB=BFChris Hoover writes: >> I have a new server that has 1TB ram (not a typo). I have been fighting w= ith this evening to start up with a shared_buffer setting over 2GB. When th= e memory allocation breaks 2GB, the database won=E2=80=99t start. I=E2=80=99= ve dropped it down to 500M to get the database online. We=E2=80=99ve tried b= oth SysV memory and mmap memory. >=20 > Are you running inside a VM, or cgroup, or something else that might > be imposing a memory limit? >=20 > regards, tom lane