php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11771 Persistent connection does not close
Submitted: 2001-06-28 05:56 UTC Modified: 2001-06-28 15:52 UTC
From: acostin at interakt dot ro Assigned:
Status: Closed Package: PostgreSQL related
PHP Version: 4.0.6 OS: Linux Redhat 7.1
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: acostin at interakt dot ro
New email:
PHP Version: OS:

 

 [2001-06-28 05:56 UTC] acostin at interakt dot ro
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'



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-28 15:52 UTC] sniper@php.net
The idea of persistant connection is that it is not closed..
RTFM.

http://www.php.net/manual/en/features.persistent-connections.php


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 02:01:36 2025 UTC