Re: new connection establishment (pgbench --connect) slow with pgbouncer due to libpq/OpenSSL global thread contention

Jacob Champion <jacob.champion@enterprisedb.com>

From: Jacob Champion <jacob.champion@enterprisedb.com>
To: Jakub Wartak <jakub.wartak@enterprisedb.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>, Daniel Gustafsson <daniel@yesql.se>, Michael Paquier <michael@paquier.xyz>
Date: 2026-05-28T16:12:49Z
Lists: pgsql-hackers
On Thu, May 28, 2026 at 12:25 AM Jakub Wartak
<jakub.wartak@enterprisedb.com> wrote:
> I understand that this would be somehow related with dropping support for legacy
> OpenSSL (?).

I think so. See for example

    https://github.com/openssl/openssl/issues/19612

I'd like to discuss (possibly not as part of this thread) dropping
support for 1.1.1 for PG20, which I think should make this somewhat
easier. And I've cc'd some co-conspirators on the OpenSSL
modernization front. :)

Thanks,
--Jacob