Bug #11771: Persistent connection does not close
| From: | acostin at interakt dot ro | Date: | Thu, 28 Jun 2001 09:56:06 +0000 |
| Subject: | Bug #11771: Persistent connection does not close | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-58307@lists.php.net to get a copy of this message | ||
From: acostin@interakt.ro
Operating system: Linux Redhat 7.1
PHP version: 4.0.6
PHP Bug Type: PostgreSQL related
Bug description: Persistent connection does not close
Hello,
I have a connection leak problem when connecting to PGsql.
The connection just hang around and does not close. I have
tryied to stress the server by doing *a lot* of persistent
connections in a header(redirect) loop, and the pool
worked ok with the stress. After a night of some
connections, it grew to the maximum. (I use the PHAkt
module for Ultradev PHP development)
I have tried to limit the maximum Pconnection number, but
it is not working
I have built PHP like this.
'./configure' '--prefix=/usr'
'--with-config-file-path=/etc' '--disable-debug'
'--enable-pic' '--enable-shared'
'--enable-inline-optimization'
'--with-apxs=/usr/sbin/apxs' '--with-exec-dir=/usr/bin'
'--with-regex=system' '--with-gettext' '--with-gd'
'--with-jpeg-dir=/usr' '--with-png' '--with-zlib'
'--with-db2' '--with-db3' '--with-gdbm'
'--enable-debugger' '--enable-magic-quotes'
'--enable-safe-mode' '--enable-sockets' '--enable-sysvsem'
'--enable-sysvshm' '--enable-track-vars' '--enable-yp'
'--enable-ftp' '--enable-wddx' '--without-mysql'
'--without-oracle' '--without-oci8' '--with-xml'
'--with-pdflib'
--
Edit Bug report at: http://bugs.php.net/?id=11771&edit=1