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

From: Jacob Champion <jacob(dot)champion(at)enterprisedb(dot)com>
To: Jakub Wartak <jakub(dot)wartak(at)enterprisedb(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Daniel Gustafsson <daniel(at)yesql(dot)se>, Michael Paquier <michael(at)paquier(dot)xyz>
Subject: Re: new connection establishment (pgbench --connect) slow with pgbouncer due to libpq/OpenSSL global thread contention
Date: 2026-05-28 16:12:49
Message-ID: CAOYmi+nZMA_mwJgV+Ydnh6bzrN3ftuESQUG730TkEBTsM1qmzg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, May 28, 2026 at 12:25 AM Jakub Wartak
<jakub(dot)wartak(at)enterprisedb(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2026-05-28 16:13:07 Re: Heads Up: cirrus-ci is shutting down June 1st
Previous Message Andres Freund 2026-05-28 16:07:08 Make memory checking / sanitizing infrastructure better