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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 11:01:34 2024 UTC