Postgres problem...

From: Date: Tue, 25 Jul 2000 08:49:51 +0000
Subject: Postgres problem...
Groups: php.db 
Request: Send a blank email to php-db+get-1451@lists.php.net to get a copy of this message
Greetings! The problem is quite nasty - PHP seems unable to count open PostgreSQL connections. If I try to use persistent connections, they don't get reused, and postgres processes are just left in memory. Then the connection limit is reached and nothing works at all... When I try phpinfo(); it just shows 1 or 2 open connections, while ps shows dozens of postgres processes. The configuration is: RedHat Linux 6.2 (kernel 2.2.15) PostgreSQL 7.0 Apache/1.3.12 PHP/4.0.1pl2 rus/PL29.5 PHP was configured with the following options --with-apache=../apache_1.3.12rusPL29.5 --with-mod_charset --with-pgsql=/usr --with-zlib=/usr --with-config-file-path=/etc --without-mysql --disable-session --enable-track-vars The same behaviour was observed when using PostgreSQL 6.5.3, PHP3,... Is it the bug or am I just missing something? -- Yours, Alexey V. Borzov

« previous php.db (#1451) next »