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.96) (envelope-from ) id 1vJtIj-0074ls-1B for pgsql-hackers@arkaria.postgresql.org; Fri, 14 Nov 2025 12:53:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vJtIg-006Eek-11 for pgsql-hackers@arkaria.postgresql.org; Fri, 14 Nov 2025 12:53:14 +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.96) (envelope-from ) id 1vJtIg-006Eec-03 for pgsql-hackers@lists.postgresql.org; Fri, 14 Nov 2025 12:53:14 +0000 Received: from mout-p-103.mailbox.org ([80.241.56.161]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vJtId-0076HR-0f for pgsql-hackers@lists.postgresql.org; Fri, 14 Nov 2025 12:53:12 +0000 Received: from smtp202.mailbox.org (smtp202.mailbox.org [10.196.197.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4d7H9n3N4Mz9thr; Fri, 14 Nov 2025 13:53:01 +0100 (CET) Date: Fri, 14 Nov 2025 13:52:59 +0100 From: Christoph Berg To: Tomas Vondra Cc: Jakub Wartak , pgsql-hackers@lists.postgresql.org Subject: Re: failed NUMA pages inquiry status: Operation not permitted Message-ID: References: <7bbc582b-cc70-4a6f-bbf2-b5fd9b13a867@vondra.me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Re: Tomas Vondra > So I'm leaning to adjust pg_numa_init() to also check EPERM, per the > attached patch. It still calls numa_available(), so that we don't > silently miss future libnuma changes. > > Can you check this makes it work inside the docker container? Yes your patch works. (Sorry I meant to test earlier, but RL...) Christoph