Too many clients to Postgresql server

Started by Ma Siva Kumarover 23 years ago1 messagesgeneral
Jump to latest
#1Ma Siva Kumar
siva@leatherlink.net

We have a website using postgresql and php, hosted in a shared server. The
settings for the maximum connections allowed is 32.

I have used the persistent connection function pg_pconnect for all the
database connections. For the past one week I have started getting the
maximum number of clients reached message now and then. Today one of my
customers also called up with the same problem.

The question is, should I change the way of connecting to the server to
pg_connect? What will be the implications? Otherwise, how can the persistent
connections be closed down?

Thanks and best regards,

Siva Kumar

--
Ma Siva Kumar,
BSG LeatherLink,
Chennai, India.
Phone: 6215110
Email: siva@leatherlink.net
URL: http://www.leatherlink.net/