Re: BUG #16160: Minor memory leak in case of starting postgres server with SSL encryption

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #16160: Minor memory leak in case of starting postgres server with SSL encryption
Дата
Msg-id 227069.1616259027@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #16160: Minor memory leak in case of starting postgres server with SSL encryption  (PG Bug reporting form <noreply@postgresql.org>)
Список pgsql-bugs
Andres Freund <andres@anarazel.de> writes:
> On 2021-03-16 14:44:55 -0400, Stephen Frost wrote:
>> OOMs errors should be gracefully handled and PG should continue to
>> function.  Was that not the case..?

> Depends on what you mean with graceful. Unless you restart the database
> you'll eventually not be able to do anything anymore, since even the
> smallest memory allocation will fail?

Yeah, a leak in the postmaster is not gonna end well.

I went ahead and back-patched e0e569e1d.  While looking at that,
I noticed that the load_dh_file subroutine was also a few DH_frees
shy of a load, so I fixed that too.

            regards, tom lane



В списке pgsql-bugs по дате отправления:

Предыдущее
От: Vlad G
Дата:
Сообщение: Re: BUG #16932: Database Crash with : ERROR: cache lookup failed for type 0
Следующее
От: Andres Freund
Дата:
Сообщение: Re: BUG #16920: Can't compile PostGIS with MingW64 against PostgreSQL 14 head