Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r0jzp-007Wb7-Hr for pgsql-bugs@arkaria.postgresql.org; Wed, 08 Nov 2023 14:57:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1r0jzo-004QW7-4R for pgsql-bugs@arkaria.postgresql.org; Wed, 08 Nov 2023 14:57:32 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r0jzn-004QVx-SQ for pgsql-bugs@lists.postgresql.org; Wed, 08 Nov 2023 14:57:31 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r0jzk-004a4K-Qp for pgsql-bugs@lists.postgresql.org; Wed, 08 Nov 2023 14:57:30 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 3A8EvQ9d667007; Wed, 8 Nov 2023 09:57:26 -0500 From: Tom Lane To: Siegfried Kiermayer cc: pgsql-bugs@lists.postgresql.org Subject: Re: Segfault when running postgres inside kubernetes with huge pages In-reply-to: References: Comments: In-reply-to Siegfried Kiermayer message dated "Tue, 07 Nov 2023 18:41:38 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <667005.1699455446.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Wed, 08 Nov 2023 09:57:26 -0500 Message-ID: <667006.1699455446@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Siegfried Kiermayer writes: > we are using zalando postgres operator and i changed / set huge pages > on kubernetes nodes from something undefined to 1536 (undefined > because i was pretty sure before changing it to 1536 i saw an initial > value of 1024 with 670 in use. This previous discussion might hold the clue: https://www.postgresql.org/message-id/CAFpoUr1ggmGs8qpoKvYxNBO3h-T-n%2BMNh= %2BJnLRYsYhHurVOiGQ%40mail.gmail.com > I would go into more detail but honestly I believe this might be easy > to find and I also assume it shouldn't segfault but return an error > message indicating the / a issue. There is not that much we can do about operating system bugs. regards, tom lane