Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id A96B49FB69D for ; Mon, 30 Jul 2007 18:51:14 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 50398-04 for ; Mon, 30 Jul 2007 18:51:08 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from main2.mycybernet.net (main2.mycybernet.net [209.222.63.140]) by postgresql.org (Postfix) with ESMTP id B91FD9FB632 for ; Mon, 30 Jul 2007 18:51:11 -0300 (ADT) Received: from 227-54-222-209.mycybernet.net ([209.222.54.227] helo=phlogiston.dydns.org) by main2.mycybernet.net with esmtp (Exim 4.62) (envelope-from ) id 1IFd8w-0008GJ-Hn for pgsql-sql@postgresql.org; Mon, 30 Jul 2007 17:51:10 -0400 Received: by phlogiston.dydns.org (Postfix, from userid 1000) id 43A83404E; Mon, 30 Jul 2007 17:51:05 -0400 (EDT) Date: Mon, 30 Jul 2007 17:51:05 -0400 From: Andrew Sullivan To: pgsql-sql@postgresql.org Subject: Re: Connection Limit Message-ID: <20070730215105.GB6839@phlogiston.dyndns.org> References: <4f4c2a010707301429s76fb80abnf7c4a50c304647b7@mail.gmail.com> <4f4c2a010707301441h52763a42hc311fadad573e43a@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4f4c2a010707301441h52763a42hc311fadad573e43a@mail.gmail.com> User-Agent: Mutt/1.5.9i X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200707/187 X-Sequence-Number: 28922 On Mon, Jul 30, 2007 at 05:41:51PM -0400, Jon Horsman wrote: > > I have a few processes that are running with host = 127.0.0.1 and then > about 90% of all the processes are running as [local]. What does > [local] mean, since in fact 127.0.0.1 is obviously local, how do they > differ? I _believe_ [local] means UNIX domain socket. As to your other question, either ps or pg_stat_activity is your friend. A -- Andrew Sullivan | ajs@crankycanuck.ca The very definition of "news" is "something that hardly ever happens." --Bruce Schneier