Received: from localhost (unknown [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 8B7E02E377B; Thu, 29 Nov 2007 03:38:22 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 07905-08; Thu, 29 Nov 2007 03:38:17 -0400 (AST) Received: from fhw-relay07.plus.net (fhw-relay07.plus.net [212.159.14.215]) by postgresql.org (Postfix) with ESMTP id 089F82E3762; Thu, 29 Nov 2007 03:38:19 -0400 (AST) Received: from [84.51.143.99] (helo=server3.office.archonet.com) by fhw-relay07.plus.net with esmtp (Exim) id 1IxdyS-0006JN-Gw; Thu, 29 Nov 2007 07:38:16 +0000 Received: from [192.168.1.36] (dell36.office.archonet.com [192.168.1.36]) by server3.office.archonet.com (Postfix) with ESMTP id 1B7BE274060; Thu, 29 Nov 2007 07:38:16 +0000 (GMT) Message-ID: <474E6C67.5020304@archonet.com> Date: Thu, 29 Nov 2007 07:38:15 +0000 From: Richard Huxton User-Agent: Thunderbird 2.0.0.9 (X11/20071031) MIME-Version: 1.0 To: Richard Broersma Jr CC: Finn Lassen , Postgresql ODBC List , General PostgreSQL List Subject: Re: 60 Seconds to connected to Postgresql using ODBC or PGAdmin References: <541895.17627.qm@web31809.mail.mud.yahoo.com> In-Reply-To: <541895.17627.qm@web31809.mail.mud.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200711/1544 X-Sequence-Number: 124539 Richard Broersma Jr wrote: > --- On Wed, 11/28/07, Finn Lassen 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