psql slow connection

Started by datactrlabout 25 years ago2 messagesgeneral
Jump to latest
#1datactrl
quals@bigfoot.com

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

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: datactrl (#1)
Re: psql slow connection

"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