#42665 [Opn]: PDO_MYSQL no persistent but idle connections
| From: | vgass at gmx dot de | Date: | Fri, 14 Sep 2007 05:44:10 +0000 |
| Subject: | #42665 [Opn]: PDO_MYSQL no persistent but idle connections | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-117546@lists.php.net to get a copy of this message | ||
ID: 42665
User updated by: vgass at gmx dot de
-Summary: PDO_MYSQL no persistent but ide connections
Reported By: vgass at gmx dot de
Status: Open
Bug Type: PDO related
Operating System: Linux (Debian)
PHP Version: 5.2.4
New Comment:
-
Previous Comments:
------------------------------------------------------------------------
[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