pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Yasuo Ohgaki <yasuo_ohgaki@yahoo.com>
To: Marc Schöchlin <schoechlin@boo.st>
Subject: Re: Programming PHP Sorry, too many clients already   ....
Date: Sun, 02 Dec 2001 12:17:27 +0900
Message-ID: <3C099D47.4080406@yahoo.com> (raw)
References: <3C07B667.6080401@boo.st>

Marc Schöchlin wrote:

> Hi everybody !
> 
> We are developing a PHP-application with a postgresql-server, apache and
> the php-module.
> 
> Developing works well until this day - a new developer entered out
> team.
> Now we are three developers:
> 
> No.1 Is developing on our main-server where the datatbase
>      and the a webserver ist installed
> 
> No.2+3 are using the database on the Main-Server and have their own
>        webservers on their machines !
> 
> Some People are also using these Webservers for testing !
> 
> Sometimes we got in our browsers the following Message:
> -- 
> Warning:  Unable to connect to PostgreSQL server:  Sorry, too many 
> clients already
>  in 
> /var/www/html/ingeni/inc/class/st/boo/common/../../..//adodb/adodb-postgres.inc.php 
> on line 190
> -- 
> 
> In this case reloading the page helps sometimes, but the best solution 
> is to restart the database.
> 
> What can be the cause for this problem ?
> 
> Our Components:
> 
> postgresql-7.1.2-4PGDG (on Redhat 6.2)
> apache-1.3.19-5 (on Redhat 7.1)
> apache-mod_ssl-1.3.12.2.6.4-0.6.0 (on Redhat 6.2)
>     (Apache_Server with compiled in SSL-Support)
> 


You are running out of max number of client connections. Edit 
postgresql.conf to increase. Max is number is 1024 and default is 
32 or like, IIRC.

I appreciate if you could post question to one mail list. I need 
to check both lists see if anyone replied already.


--
Yasuo Ohgaki




view thread (2+ messages)

Message-ID: <3C099D47.4080406@yahoo.com>
Permalink:  ../3C099D47.4080406@yahoo.com/
Also on:    postgresql.org/message-id/3C099D47.4080406@yahoo.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: yasuo_ohgaki@yahoo.com, schoechlin@boo.st
  Subject: Re: Programming PHP Sorry, too many clients already   ....
  In-Reply-To: <3C099D47.4080406@yahoo.com>
  References: <3C07B667.6080401@boo.st> <3C099D47.4080406@yahoo.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