From: | "Lukas" <Lukas(at)fmf(dot)vtu(dot)lt> |
---|---|
To: | pgsql-admin(at)postgresql(dot)org |
Cc: | "Mindaugas Žakšauskas" <mindas(at)gmail(dot)com> |
Subject: | Re: Establishing remote connections is slow |
Date: | 2012-01-17 20:51:38 |
Message-ID: | 17fee828df2a0dfa0f507b22051e6b15.squirrel@fmf.vtu.lt |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Hi,
if you try to connect with pssql over your IP and it works slow, it is
possible that you have problem with reverse dns lookup. To check, try to
run nslookup tool, and enter your IP address (on the same machine) - if
it is problem with dns, it will resolve it slow as well..
Also, try to check traceroute/trapath utilities with the same IP maybe it
will show you something strange..
--
Lukas
UAB nSoft
www.nsoft.lt
> On Tue, Jan 17, 2012 at 7:23 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> <..> Mindaugas, are you using SSL,
>> and if so can you turn it off and see whether things change?
>> (It should be safe to do so at least on the "localhost" connection,
>> even if you feel your network is insecure.)
>
> No, I am not using SSL; it is either disabled or the default setting
> is off anyway. This was one of the first things I have checked.
> Moreover, this would probably make it hard to explain why does it take
> no time to establish connections immediately after PostgreSQL restart
> and why it does it degrade later.
>
> To respond to previous emails - we tried doing DNS lookups against the
> client host and they took no time.
>
> Thanks for your ideas.
>
> Regards,
> Mindaugas
>
> --
> Sent via pgsql-admin mailing list (pgsql-admin(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-admin
>
From | Date | Subject | |
---|---|---|---|
Next Message | Craig James | 2012-01-17 21:04:46 | Re: Establishing remote connections is slow |
Previous Message | Mindaugas Žakšauskas | 2012-01-17 20:29:18 | Re: Establishing remote connections is slow |