From: | Christoph Berg <myon(at)debian(dot)org> |
---|---|
To: | Tomas Vondra <tomas(dot)vondra(at)postgresql(dot)org>, Jakub Wartak <jakub(dot)wartak(at)enterprisedb(dot)com> |
Cc: | pgsql-hackers(at)lists(dot)postgresql(dot)org |
Subject: | failed NUMA pages inquiry status: Operation not permitted |
Date: | 2025-10-16 11:38:35 |
Message-ID: | aPDZOxjrmEo_1JRG@msg.df7cb.de |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-hackers |
> src/test/regress/expected/numa.out | 13 +++
> src/test/regress/expected/numa_1.out | 5 +
numa_1.out is catching this error:
ERROR: libnuma initialization failed or NUMA is not supported on this platform
This is what I'm getting when running PG18 in docker on Debian trixie
(libnuma 2.0.19).
However, on older distributions, the error is different:
postgres =# select * from pg_shmem_allocations_numa;
ERROR: XX000: failed NUMA pages inquiry status: Operation not permitted
LOCATION: pg_get_shmem_allocations_numa, shmem.c:691
This makes the numa regression tests fail in Docker on Debian bookworm
(libnuma 2.0.16) and older and all of the Ubuntu LTS releases.
The attached patch makes it accept these errors, but perhaps it would
be better to detect it in pg_numa_available().
Christoph
Attachment | Content-Type | Size |
---|---|---|
0001-numa-Catch-Operation-not-permitted-error.patch | text/x-diff | 2.2 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Tomas Vondra | 2025-10-16 14:27:47 | Re: failed NUMA pages inquiry status: Operation not permitted |
Previous Message | Amit Langote | 2025-10-16 06:20:29 | Re: pgsql: Fix EPQ crash from missing partition directory in EState |
From | Date | Subject | |
---|---|---|---|
Next Message | Akshay Joshi | 2025-10-16 11:47:22 | Re: [PATCH] Add pg_get_policy_ddl() function to reconstruct CREATE POLICY statement |
Previous Message | Zhijie Hou (Fujitsu) | 2025-10-16 11:24:30 | RE: Logical Replication of sequences |