Re: Postgres problem...
| From: | Andreas Karajannis | Date: | Tue, 25 Jul 2000 08:56:58 +0000 |
| Subject: | Re: Postgres problem... | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-1452@lists.php.net to get a copy of this message | ||
Alexey Borzov wrote:
>
> 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?
>
Please try a cvs version, this should fix your problem - the apache
module version didn't clean up on module shutdown.
-Andreas
--
Andreas Karajannis
GMD National Research Center for Information Technology
Schloss Birlinghoven, D-53754 Sankt Augustin
Phone +49 2241 142948