Re: [Phplib-users] pgsql - too many clients?
Brought to you by:
nhruby,
richardarcher
From: Stephen W. <wo...@me...> - 2001-11-21 16:24:51
|
I had a similar problem with mysql and apache. Apache does something weird when you pconnect where it never releases or reuses your connections. I fixed this on my sysem by changing pconnect to connect. Find your call to pg_pconnect and change it to pg_connect in phplib and see if it fixes your problem. You may also need to restart pgsql to purge all the open pconnections -Steve Frank Bax wrote: > > pgsql 7.1 - phplib 7.2d - OpenBSD 2.9 > > How do I fix this? > > Warning: Unable to connect to PostgreSQL server: Sorry, too many clients > already in /var/www/php/class/phplib-7.2d/db_pgsql.inc on line 48 > Database error: Link-ID == false, pconnect failed > PostgreSQL Error: 0 () > Session halted. > > _______________________________________________ > Phplib-users mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phplib-users |