php-developer-list | 2001122
Date: 12/31/01
- Next message: zak <email protected>: "[PHP-DEV] Bug #14419 Updated: Please use Character-enable mysql_escape"
- Previous message: zak <email protected>: "[PHP-DEV] Bug #13456 Updated: mysql_query() returns incorrect result whith do not perform real MySQL state"
- Next in thread: zak <email protected>: "[PHP-DEV] Bug #13589 Updated: Persistent connections stay open and accumulate"
- Maybe reply: zak <email protected>: "[PHP-DEV] Bug #13589 Updated: Persistent connections stay open and accumulate"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 13589
Updated by: zak
Reported By: mtremblay <email protected>
Status: Open
Bug Type: MySQL related
Operating System: RedHat 7.1
PHP Version: 4.0.6
Old Assigned To:
Assigned To: zak
New Comment:
Assigning to myself
Previous Comments:
------------------------------------------------------------------------
[2001-11-20 12:55:15] derick <email protected>
However, this is something else. This need to be investigated first.
------------------------------------------------------------------------
[2001-11-20 12:31:00] sander <email protected>
This is what Derick said about this (in #14149):
This is not a bug, the MySQL extension 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.
------------------------------------------------------------------------
[2001-10-07 17:33:26] mtremblay <email protected>
While trying to use persistent connections for performance on an ad server, connections to the MySQL server stay open and accumulate over time until it hits the max_connections setting is hit. Once this happens, MySQL refuses to allow connections.
After looking at the MySQL process list, it seams that connections are not always recycled. In theory, idle established connections' Commands should be "Sleep" but curiously, it looks like connections not being recycled have "Query" command and a state of "NULL".
Presently using MySQL 3.23.36.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=13589&edit=1
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: zak <email protected>: "[PHP-DEV] Bug #14419 Updated: Please use Character-enable mysql_escape"
- Previous message: zak <email protected>: "[PHP-DEV] Bug #13456 Updated: mysql_query() returns incorrect result whith do not perform real MySQL state"
- Next in thread: zak <email protected>: "[PHP-DEV] Bug #13589 Updated: Persistent connections stay open and accumulate"
- Maybe reply: zak <email protected>: "[PHP-DEV] Bug #13589 Updated: Persistent connections stay open and accumulate"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

