From:             [EMAIL PROTECTED]
Operating system: linux
PHP version:      4.2.3
PHP Bug Type:     PostgreSQL related
Bug description:  pg_pconnect, too many connections

I am not sure if this is a pgsql-extension bug or merely an documentation
bug. I have had problems with a webserver, getting php-error saying too
many connections, when using persistent connections.

It seems mysql behaves like:
(apache) MaxClients * persistant-connections
whereas this is in postgres more like:
MaxClients * DBs * users * persistant connections (not mentioned anywhere
in docs).

OR php have troubles finding allready opened connections in its hashtable.
(PHP 4.2.3, postgres 7.1.3)

It seems strange to have different pconnects to same postgres  backend if
different databases (seems the source selects DB on the open connection
anyhow).

background: apache maxclients = 150, 1 user a few DBs and postgress
max_connections limit set to 600 ! and it wasn't enough. (fix: changed
everything from pg_pconnect to pg_connect).
-- 
Edit bug report at http://bugs.php.net/?id=20237&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=20237&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=20237&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=20237&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=20237&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=20237&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=20237&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=20237&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=20237&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=20237&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=20237&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20237&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=20237&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=20237&r=isapi

Reply via email to