From: Richard Huxton <dev@archonet.com>
To: Richard Broersma Jr <rabroersma@yahoo.com>
Cc: Finn Lassen <dcio@AxiomInt.com>
Cc: Postgresql ODBC List <pgsql-odbc@postgresql.org>
Cc: General PostgreSQL List <pgsql-general@postgresql.org>
Subject: Re: 60 Seconds to connected to Postgresql using ODBC or PGAdmin
Date: Thu, 29 Nov 2007 07:38:15 +0000
Message-ID: <474E6C67.5020304@archonet.com> (raw)
In-Reply-To: <541895.17627.qm@web31809.mail.mud.yahoo.com>
References: <541895.17627.qm@web31809.mail.mud.yahoo.com>
Richard Broersma Jr wrote:
> --- On Wed, 11/28/07, Finn Lassen <dcio@AxiomInt.com> wrote:
>
> Can anyone else comment on what problems could be causing these slow connections problems?
>
>
>> Meanwhile, I don't understand why it now takes exactly
>> 60 seconds to connect to the database whether I use pgAdmin or my
>> connection string from within VB.
Name lookups. Something is trying to look up a name, failing and it's
timing out after 60 seconds.
Could be DNS, or WINS (or whatever MS' current name resolution system is
called). It could be either end of the connection too, if for example
something on the server is logging the names of connecting clients.
Try a couple of name lookups (forward and reverse) from each end and see
what happens.
--
Richard Huxton
Archonet Ltd
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: dev@archonet.com, rabroersma@yahoo.com, dcio@AxiomInt.com, pgsql-general@postgresql.org
Subject: Re: 60 Seconds to connected to Postgresql using ODBC or PGAdmin
In-Reply-To: <474E6C67.5020304@archonet.com>
References: <541895.17627.qm@web31809.mail.mud.yahoo.com> <474E6C67.5020304@archonet.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox