Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 434B164FF11 for ; Thu, 17 Jul 2008 10:39:02 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 42701-07 for ; Thu, 17 Jul 2008 10:38:51 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from lists.commandprompt.com (host-159.commandprompt.net [207.173.203.159]) by postgresql.org (Postfix) with ESMTP id 5D65064FCEE for ; Thu, 17 Jul 2008 10:38:55 -0300 (ADT) Received: from commandprompt.com (CPE001b63afe888-CM001adea9c5a6.cpe.net.cable.rogers.com [99.236.211.160]) (authenticated bits=0) by lists.commandprompt.com (8.13.8/8.13.8) with ESMTP id m6HDfAa7030489 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 17 Jul 2008 06:41:13 -0700 Date: Thu, 17 Jul 2008 09:38:49 -0400 From: Andrew Sullivan To: pgsql-admin@postgresql.org Subject: Re: Very Urgent : Db processes are increasing Message-ID: <20080717133849.GK6732@commandprompt.com> Mail-Followup-To: Andrew Sullivan , pgsql-admin@postgresql.org References: <3D5445983859B84B92669C0D883EA6FB0E7891CA@ZENMAILHQ1.ind.zensar.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D5445983859B84B92669C0D883EA6FB0E7891CA@ZENMAILHQ1.ind.zensar.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (lists.commandprompt.com [207.173.203.159]); Thu, 17 Jul 2008 06:41:14 -0700 (PDT) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.017 tagged_above=0 required=5 tests=AWL=0.017 X-Spam-Level: X-Archive-Number: 200807/155 X-Sequence-Number: 29765 On Thu, Jul 17, 2008 at 02:46:58PM +0530, Suresh Gupta VG wrote: > Hi List, > > I am using pgsql 7.4.2 on solaris-9. Go and upgrade that right away. It has several very nasty bugs in it. 7.4.21 is the latest. > pg_ctl start -D /db1/postgresql/data -o "-i" > > If I exclude "-I" option, my application couldn't connect the DB server > at all. Well, you could set that in the configuration file, but obviously, you're using the network somehow. > Here are my queries. > 1) Why DB processes are increasing drastically, it reaches up to 104 > connection( configured to 100 max connections) through there is no > application trying to connect/access the DB. Something is connecting. You can change the logging settings to find out who is connecting and from where. Alternatively, try netstat to look at who is connecting to port 5432. > 2) Is "-I" option is important to get the access from other server to DB > server ?? Well, it's spelled "-i", but yes. You have to listen on a TCP/IP socket, or else nobody can connect from another server. A -- Andrew Sullivan ajs@commandprompt.com +1 503 667 4564 x104 http://www.commandprompt.com/