pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Mani Sankar <manisankar01695@gmail.com>
To: pgsql-general@postgresql.org
To: pgsql-performance@postgresql.org
Subject: Re: LDAP with TLS is taking more time in Postgresql 11.5
Date: Tue, 25 Feb 2020 10:20:59 +0100
Message-ID: <862457adf1a223499e3ec2f50e1932d34cfc803b.camel@cybertec.at> (raw)
In-Reply-To: <CAEtVwW3Bygo1iYxOPYbFSjBPqA1_RU8iJMTdML609h0Gy4JN7Q@mail.gmail.com>
References: <CAEtVwW3Bygo1iYxOPYbFSjBPqA1_RU8iJMTdML609h0Gy4JN7Q@mail.gmail.com>

On Tue, 2020-02-25 at 01:20 +0530, Mani Sankar wrote:
> We have recently upgraded our postgres servers from 9.4 version to 11.5 version. Post upgrade we are see delay in authentication. 
> 
> Issue is when we are using ldaptls=1 the authentication takes 1 second or greater than that. But if I disable ldaptls it's getting authenticated within milliseconds.
> 
> But in 9.4 even if I enable ldaptls it's getting authenticated within milliseconds any idea why we are facing the issue?

I would use a packet sniffer like Wireshark to examine the message flow and see where the time is spent.

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com






view thread (9+ messages)  latest in thread

Message-ID: <862457adf1a223499e3ec2f50e1932d34cfc803b.camel@cybertec.at>
Permalink:  ../862457adf1a223499e3ec2f50e1932d34cfc803b.camel@cybertec.at/
Also on:    postgresql.org/message-id/862457adf1a223499e3ec2f50e1932d34cfc803b.camel@cybertec.at

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: laurenz.albe@cybertec.at, manisankar01695@gmail.com, pgsql-performance@postgresql.org
  Subject: Re: LDAP with TLS is taking more time in Postgresql 11.5
  In-Reply-To: <862457adf1a223499e3ec2f50e1932d34cfc803b.camel@cybertec.at>
  References: <CAEtVwW3Bygo1iYxOPYbFSjBPqA1_RU8iJMTdML609h0Gy4JN7Q@mail.gmail.com> <862457adf1a223499e3ec2f50e1932d34cfc803b.camel@cybertec.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox