Re: Postgres v16.4 crashes on segfault when memory >= 16gb

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Weslley Braga <wbraga(at)implentio(dot)com>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: Postgres v16.4 crashes on segfault when memory >= 16gb
Date: 2024-08-21 21:31:37
Message-ID: 1888240.1724275897@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Weslley Braga <wbraga(at)implentio(dot)com> writes:
> I've been observing for the past month. I'm running PostgreSQL in
> Kubernetes through the CloudNativePG project. When I bump the pods resource
> configuration to anything above 16gb I notice that complex queries such as
> the one shared below cause the runtime to fail with a segfault see logs for
> details. The same query with a configuration < 16gb memory works ok.

Hmm, does turning jit = off affect it?

> I'm glad to share more information to further help identify the issue. I've
> also extracted core dumps from the error.

The core dumps will be useless to anyone on any other platform or with
an even slightly different build of Postgres. If you could extract
stack traces from them, that might be helpful:

https://wiki.postgresql.org/wiki/Generating_a_stack_trace_of_a_PostgreSQL_backend

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2024-08-22 12:58:23 BUG #18588: Cannot force/let database use parallel execution in simple case.
Previous Message Weslley Braga 2024-08-21 19:53:00 Postgres v16.4 crashes on segfault when memory >= 16gb