Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lNz83-0003iz-S7 for pgsql-bugs@arkaria.postgresql.org; Sun, 21 Mar 2021 14:32:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lNz82-0004dC-Lz for pgsql-bugs@arkaria.postgresql.org; Sun, 21 Mar 2021 14:32:30 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lNz82-0004d4-FH for pgsql-bugs@lists.postgresql.org; Sun, 21 Mar 2021 14:32:30 +0000 Received: from tamriel.snowman.net ([2001:470:e38f::11]) by magus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lNz7w-0002Sq-8w for pgsql-bugs@lists.postgresql.org; Sun, 21 Mar 2021 14:32:30 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id C3B055F799; Sun, 21 Mar 2021 10:32:21 -0400 (EDT) Date: Sun, 21 Mar 2021 10:32:21 -0400 From: Stephen Frost To: Andres Freund Cc: Jelte Fennema , Michael Paquier , duspensky@ya.ru, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #16160: Minor memory leak in case of starting postgres server with SSL encryption Message-ID: <20210321143221.GD20766@tamriel.snowman.net> References: <16160-18367e56e9a28264@postgresql.org> <20191213063915.GE1942@paquier.xyz> <20191214092456.GB70616@paquier.xyz> <20210316184455.GB20766@tamriel.snowman.net> <20210320000732.zaq227u5spnhwytr@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="q//942cwY0lD3Qrv" Content-Disposition: inline In-Reply-To: <20210320000732.zaq227u5spnhwytr@alap3.anarazel.de> User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --q//942cwY0lD3Qrv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Greetings, * Andres Freund (andres@anarazel.de) wrote: > 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..? >=20 > 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? Bit confused- I certainly agree with fixing the leak and back-patching it, not sure how it came across otherwise. I was asking the questions that I was to try to figure out if there was some other issue at play as well. Thanks, Stephen --q//942cwY0lD3Qrv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJgV1j1AAoJEO1sijiDR2RVSD0P/j4hmJKp+QjauZyzNFC62ol0 UQGlb9OyE066q4j8j+8Z8RcNfCrYd4JEQ0GIn2JNspO0e+4p7c9FGUNpZrxhEBE4 rySJgfWkqbX/uIOiOZNZGcRDs8xy1WbEcI3/vzod3351X5Z4FJlVhp6TvPnqv9Kv NTkndaeRpABgFhLcDRWQH+CNZlM+1y83X4IVJZRal6sxgCO2rqwejRVTs56qZ2CT zfXbp+zQVp+UrPVo+GHTl/UlhMUNR6PeNsG2wUYn9vc4gdtZp/EAqaLqndDllcGI vGU5QYJNsIZBz9oKUsMLqM1AU9TzmVPCqzFq1xLDVUvZpT/05zCWYEOgE1QemuCC 7tJy7YNQxY0xwocQxv9P/Np+fwEq2HlQYZMm8QrtzcKvpFa4FOo9JoQpR8q63Ma/ N/iy5FeC2NdEa17iNXlz4LYtgvlNADESzoioOTRdaH6WjjZBrnTlSmj1MSSGqIxp Fhx7E1W+L/1GjPZJgyTXOVQ9J2m15VhDmjryTuCv52LkbqmWp6Td06ZApFEEc0sK 4I4IwUiOn2Th1NOM2ljTlHtZ+eysyb8+fhbrzOox19zwOEY9AOSap5TOjV8hcRZ/ 6V7yyx1XAsxuoMEUiRlDJNddp7TeT2IoCbkNQ9QU9Qn8otQPEt6BkcTNNaFXByHN 3JundttWwdM29xQm47dC =rThx -----END PGP SIGNATURE----- --q//942cwY0lD3Qrv--