#42665 [Opn->Fbk]: PDO_MYSQL no persistent but idle connections
| From: | iliaa@php.net | Date: | Sun, 16 Sep 2007 15:33:31 +0000 |
| Subject: | #42665 [Opn->Fbk]: PDO_MYSQL no persistent but idle connections | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-117585@lists.php.net to get a copy of this message | ||
ID: 42665
Updated by: iliaa@php.net
Reported By: vgass at gmx dot de
-Status: Open
+Status: Feedback
Bug Type: PDO related
Operating System: Linux (Debian)
PHP Version: 5.2.4
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows (zip):
http://snaps.php.net/win32/php5.2-win32-latest.zip
For Windows (installer):
http://snaps.php.net/win32/php5.2-win32-installer-latest.msi
Previous Comments:
------------------------------------------------------------------------
[2007-09-14 05:44:10] vgass at gmx dot de
-
------------------------------------------------------------------------
[2007-09-14 05:19:05] vgass at gmx dot de
Description:
------------
With an attempt to use PDO_MYSQL with PDO::ATTR_PERSISTENT => true I
stated coincidentally that no persistent connections were used, but
dozens idle "hanging" processes had remained open: one process for one
call to "new PDO(...)"!
As an ISP this is catastrophic and we are missing the possibility to
disable persistant connections as with mySQL. (settings like
"mysql.allow_persistent" and "mysql.max_persistent")
mySQL: 4.0.25
Thanks for any help you can provide.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42665&edit=1