Re: Segfault when running postgres inside kubernetes with huge pages
От
Andres Freund
Тема
Re: Segfault when running postgres inside kubernetes with huge pages
Дата
Msg-id
20231109012809.bwav7izghjroscqk@awork3.anarazel.de
Ответ на
Re: Segfault when running postgres inside kubernetes with huge pages (Siegfried Kiermayer)
Список
Дерево обсуждения
Segfault when running postgres inside kubernetes with huge pages Siegfried Kiermayer <sicaine@gmail.com>
Re: Segfault when running postgres inside kubernetes with huge pages Tom Lane <tgl@sss.pgh.pa.us>
Re: Segfault when running postgres inside kubernetes with huge pages Siegfried Kiermayer <sicaine@gmail.com>
Re: Segfault when running postgres inside kubernetes with huge pages Andres Freund <andres@anarazel.de>
Hi, On 2023-11-08 16:03:53 +0100, Siegfried Kiermayer wrote: > we do run kernel 5.8 and the allocation happens basically at start. > > I would still expect postgres to fail gracefully at this point? > > Is 'throwing an error message' / checking the allocation a performance > issue? is it in a generic hotpath for allocation? It's not like we're ignoring an error and just continuing - we're successfully allocating the memory. Then the kernel sends SIGBUS when accessing the freshly allocated memory. We could try to install a SIGBUS handler and erroring out that way. But doing that correctly and portably is not exactly trivial. Greetings, Andres Freund
В списке pgsql-bugs по дате отправления
От: Bruce Momjian
Дата:
От: Richard Guo
Дата: