From: | pramod kg <pramod11287(at)gmail(dot)com> |
---|---|
To: | Thomas Kellerer <shammat(at)gmx(dot)net> |
Cc: | pgsql-admin(at)lists(dot)postgresql(dot)org |
Subject: | Re: PostgreSQL local connection is taking 4 seconds |
Date: | 2024-01-02 16:04:41 |
Message-ID: | CAHkcXnxJhNME9VTUeZEvN7o89c3hXMEP5KU5z1O5a+1EFV-=aA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
log_hostname value is off:
postgres=# show log_hostname;
log_hostname
--------------
off
(1 row)
There is no change in postgresql.conf
On Tue, Jan 2, 2024 at 9:25 PM Thomas Kellerer <shammat(at)gmx(dot)net> wrote:
>
> pramod kg schrieb am 02.01.2024 um 14:58:
> > Hi Experts,
> >
> > We have upgraded the OS from RHEL7 to RHEL8 in our testbed machines.
> After upgrading, PostgrSQL local connection is taking ~4 seconds (Both TLS
> and non TLS connection). Please advise on what to be verified? There is no
> change in postgresql.conf or pg_hba.conf.
> >
> > PostgreSQL version is 13.12.
> > RHEL Version: Red Hat Enterprise Linux release 8.8 (Ootpa)
>
> Did you enable log_hostname?
>
> That does a revers DNS lookup which could be a reason for the connection
> suddenly taking longer.
>
>
>
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2024-01-02 16:27:26 | Re: PostgreSQL local connection is taking 4 seconds |
Previous Message | Thomas Kellerer | 2024-01-02 15:55:00 | Re: PostgreSQL local connection is taking 4 seconds |