Обсуждение: psql slow connection

Поиск
Список
Период
Сортировка

psql slow connection

От
"datactrl"
Дата:
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

От
Tom Lane
Дата:
"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