php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3748 when does a mysql_pconnect connection expire?
Submitted: 2000-03-06 17:09 UTC Modified: 2000-03-20 02:18 UTC
From: lukaszr at gervez dot com Assigned:
Status: Closed Package: MySQL related
PHP Version: 3.0.15 OS: FreeBSD
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: lukaszr at gervez dot com
New email:
PHP Version: OS:

 

 [2000-03-06 17:09 UTC] lukaszr at gervez dot com
in a situation where you open a connection to a mysql database using mysql_pconnect and the client computer crashes or there is a power failure, the mysql_close command will never be executed. my concern is that eventually there will be a lot of open connections on the mysql server which will never be used... is there a timeout that occurs if a connection is not used? if so how do you specify that value? if not then at what point will i run out of resources to open another connection to a mysql server?

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-03-20 02:18 UTC] rasmus at cvs dot php dot net
Questions should go to the mailing list, not to the bug database.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Oct 11 23:00:01 2026 UTC