php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14149 Loses Track of Persistent Connections
Submitted: 2001-11-20 09:52 UTC Modified: 2001-11-20 12:15 UTC
From: craigawlin at wvhmhc dot org Assigned:
Status: Closed Package: MySQL related
PHP Version: 4.0.6 OS: Win2000
Private report: No CVE-ID: None
 [2001-11-20 09:52 UTC] craigawlin at wvhmhc dot org
Running Apache 1.3.20 with php 4.0.6
MySQL 3.23.42nt running on the same machine.

I have 2 accounts which pconnect to mySQL. It looks like php is forgetting it has connections open when pconnect is called, and opening duplicates, as the MySQL process table gets filled up.

(Made worse since MySQL seems to ignore its wait_timeout setting!)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-20 11:01 UTC] sander@php.net
Dupe of 13589
 [2001-11-20 12:15 UTC] derick@php.net
THis is not a bug, the MySLQ extneion will open a new connection if the _current apache child_ has no open connection to MySQL.
With this in mind, it's very normal to see that apache has multiple connections open to MySQL.

Derick
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Sep 22 11:01:27 2024 UTC