Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id DEA412E33C7 for ; Thu, 29 Nov 2007 08:34:15 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 12527-03 for ; Thu, 29 Nov 2007 08:34:04 -0400 (AST) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by postgresql.org (Postfix) with ESMTP id 885952E3314 for ; Thu, 29 Nov 2007 08:34:08 -0400 (AST) Received: by nf-out-0910.google.com with SMTP id f5so1510934nfh for ; Thu, 29 Nov 2007 04:34:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=LCMwgc2+onAox4kdhJ8/2n/wHUL98FvZL14C5WcPzwg=; b=pcqcHt5RVSkTqaV4SMt9Fcl4wnT/apksRRsSHeNz1y4qKByqDpEfRXnH/NbQBxo1P7ODQWpuqCnS5TpY5MK27ZByQK2HQtu0sL6Kyp5TaXJp8jIjqoAOJwe7Awjph8vgQ8O4ihFCsCKFc5tj/7JdAuabppH0ywKazx9Ie0+oz5c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=nFeQt+LvRh708HF1C5Mc9DYUdrSAOObTbMv/G6IwT20nGlHNWqrvd61MLUN8F7E7mimx8i9vlgQcA5GtnWgt/Q78aBrWI8SqUD8kys3YeHbIqkBmc1Ge/FZVyEN312niCJK6Yc7vayla/m+jlCNfgx0tIZM7AjcVkUvMH++5DJ4= Received: by 10.78.190.10 with SMTP id n10mr6803954huf.1196339646788; Thu, 29 Nov 2007 04:34:06 -0800 (PST) Received: by 10.78.151.9 with HTTP; Thu, 29 Nov 2007 04:34:06 -0800 (PST) Message-ID: Date: Thu, 29 Nov 2007 17:34:06 +0500 From: "Usama Dar" To: "Shane Ambler" Subject: Re: 60 Seconds to connected to Postgresql using ODBC or PGAdmin Cc: "Richard Broersma Jr" , "Richard Huxton" , "Finn Lassen" , "General PostgreSQL List" In-Reply-To: <474E76F3.4030203@Sheeky.Biz> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_9576_698464.1196339646780" References: <569143.5566.qm@web31807.mail.mud.yahoo.com> <474E76F3.4030203@Sheeky.Biz> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200711/1628 X-Sequence-Number: 124623 ------=_Part_9576_698464.1196339646780 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Or you can try using a simple packet sniffer, maybe ,ethereal , to see if name resolution is going on, i had similar problems with MySQL name resolution in the past and they generally went away after disabling its name resolution and just use IPs On Nov 29, 2007 1:23 PM, Shane Ambler wrote: > Richard Broersma Jr wrote: > > --- On Wed, 11/28/07, Richard Huxton wrote: > >> Name lookups. Something is trying to look up a name, > >> failing and it's > >> timing out after 60 seconds. > > > > It seems the OP's connection string was set to localhost. Would this > still indicate a Name Loopup problem? > > > > If there is no entry (or an incorrect one) in /etc/hosts for localhost - > then yes - try to connect to 127.0.0.1 and see if that makes a difference. > > Also if it is set to do namelookup before referring to /etc/hosts it can > have similar probs. > > > -- > > Shane Ambler > pgSQL@Sheeky.Biz > > Get Sheeky @ http://Sheeky.Biz > > ---------------------------(end of broadcast)--------------------------- > TIP 1: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly > ------=_Part_9576_698464.1196339646780 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Or you can try using a simple packet sniffer, maybe ,ethereal , to see if name resolution is going on, i had similar problems with MySQL name resolution in the past and they generally went away after disabling its name resolution and just use IPs

On Nov 29, 2007 1:23 PM, Shane Ambler <pgsql@sheeky.biz> wrote:
Richard Broersma Jr wrote:
> --- On Wed, 11/28/07, Richard Huxton <dev@archonet.com> wrote:
>> Name lookups. Something is trying to look up a name,
>> failing and it's
>> timing out after 60 seconds.
>
> It seems the OP's connection string was set to localhost.  Would this still indicate a Name Loopup problem?
>

If there is no entry (or an incorrect one) in /etc/hosts for localhost -
then yes - try to connect to 127.0.0.1 and see if that makes a difference.

Also if it is set to do namelookup before referring to /etc/hosts it can
have similar probs.


--

Shane Ambler
pgSQL@Sheeky.Biz

Get Sheeky @ http://Sheeky.Biz

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to majordomo@postgresql.org so that your
      message can get through to the mailing list cleanly

------=_Part_9576_698464.1196339646780--