pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Marc Schöchlin <schoechlin@boo.st>
To: pgsql-admin@postgresql.org.pgsql-php
Subject: Programming PHP Sorry, too many clients already ....
Date: Fri, 30 Nov 2001 17:40:07 +0100
Message-ID: <3C07B667.6080401@boo.st> (raw)

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)

Regards

Marc Schöchlin






view thread (2+ messages)  latest in thread

Message-ID: <3C07B667.6080401@boo.st>
Permalink:  ../3C07B667.6080401@boo.st/
Also on:    postgresql.org/message-id/3C07B667.6080401@boo.st

 · 

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: schoechlin@boo.st, pgsql-admin@postgresql.org.pgsql-php
  Subject: Re: Programming PHP Sorry, too many clients already ....
  In-Reply-To: <3C07B667.6080401@boo.st>
  References: <3C07B667.6080401@boo.st>

* 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