Thread: psql slow connection

psql slow connection

From
"datactrl"
Date:
I use a win32 psql to connect to a linux box. It will take about 20 seconds
to connect to postgres server while linux and my PC are in a LAN. My linux
runs dhcpd, smb, and internet sharing, do they matter?

JACK


Re: psql slow connection

From
Tom Lane
Date:
"datactrl" <quals@bigfoot.com> writes:
> I use a win32 psql to connect to a linux box. It will take about 20 seconds
> to connect to postgres server while linux and my PC are in a LAN.

A first guess is that there's something broken about your DNS setup,
and that you're suffering a DNS lookup timeout before anything actually
happens.

            regards, tom lane