Too many clients

From: Andy Dunlop <andy(at)infocus(dot)co(dot)za>
To: pgsql-php(at)postgresql(dot)org
Subject: Too many clients
Date: 2004-02-27 21:11:33
Message-ID: 1077877268.1247.9.camel@redhat1.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

I hope this goes to the right place!

I occasionally get the error "too many clients" when connecting to the
database. I try restarting the Postgres server and also Apache, but the
only thing that clears the problem is restarting Linux. I have maxusers
set to 35, and I am the only user, so I suspect I am not doing something
in my scripts that I should be, or doing something that I shouldn't be!
I have the pg_connect at the top of the script so each time it loads the
page it does a new connect - maybe this is a problem?

Probably a simple solution, anyone know?
Thanks
Andy

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Devrim GUNDUZ 2004-02-27 21:16:36 Re: Too many clients
Previous Message ljb 2004-02-26 00:48:15 Re: pg_connect timeout ignored