pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas F.O'Connell <tfo@sitening.com>
To: ganapatiram <ganapatiram@symphonydata.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Too many clients----A big problem for my team
Date: Mon, 7 Mar 2005 23:41:31 -0600
Message-ID: <93dd2f9da9397187a135f96b5f607c75@sitening.com> (raw)
In-Reply-To: <003101c52316$bd8e4f00$8c0aa8c0@rram>
References: <003101c52316$bd8e4f00$8c0aa8c0@rram>

Well, first of all, max_connections can only be set at server start. 
Are you restarting postgres when you do "trial and error changes"?

Secondly, 5 users can still manage to make multiple connections. You 
can use ps to see how many connections are active at any given time.

http://www.postgresql.org/docs/8.0/static/monitoring.html#MONITORING-PS

-tfo

--
Thomas F. O'Connell
Co-Founder, Information Architect
Sitening, LLC
http://www.sitening.com/
110 30th Avenue North, Suite 6
Nashville, TN 37203-6320
615-260-0005

On Mar 7, 2005, at 7:08 AM, ganapatiram wrote:

> Hi Experts,
>  
>            I work with postgresql 8.0 version. I have a team of 14 
> developers. When all the team connects the DB i see this error very 
> very frequently which is a severe problem for me and team all the day. 
> The error is:
>  
>
> Please report this exception: java.sql.SQLException: FATAL:  sorry, 
> too many clients already
>
>  
>
> when i do trial and error changes i see this error differently but the 
> essense of the error remains same.
>
>   
>
>         I have max_connections=200 and i have 5 users for my DB. I 
> dont understand what to do in order to resolve this. Please suggest me 
> something by which i can overcome this problem. I referred few threads 
> but none of them are of my case.
>
>   
>
>  
>
> Waiting for your valuable suggestion..........
>
>  
>
>  
>
>  
>
>  
>
> Thanks and Regards
>
> Ram




view thread (5+ messages)  latest in thread

Message-ID: <93dd2f9da9397187a135f96b5f607c75@sitening.com>
Permalink:  ../93dd2f9da9397187a135f96b5f607c75@sitening.com/
Also on:    postgresql.org/message-id/93dd2f9da9397187a135f96b5f607c75@sitening.com

 · 

reply

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-admin@postgresql.org
  Cc: tfo@sitening.com, ganapatiram@symphonydata.com
  Subject: Re: Too many clients----A big problem for my team
  In-Reply-To: <93dd2f9da9397187a135f96b5f607c75@sitening.com>
  References: <003101c52316$bd8e4f00$8c0aa8c0@rram> <93dd2f9da9397187a135f96b5f607c75@sitening.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