From: moreau at myrealbox dot com Operating system: FreeBSD 5.2.1 PHP version: 4.3.6 PHP Bug Type: MySQL related Bug description: mysql_pconnect never kills threads
Description: ------------ mysql_pconnect every time generate new connection and never kill previous. As result - MySQL generate many threads for handling each query and after too many connection hangs. This never happened if use mysql_connect and mysql_close in each page. I use apache2 . php compiled as module. apache use mpm=worker. I don't know whether it problem in threadead apache or common problem in php with mysql_pconnect. mysql_pconnect in current state cannot be used for accessing to mysql. -- Edit bug report at http://bugs.php.net/?id=28098&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28098&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28098&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=28098&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=28098&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=28098&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=28098&r=needscript Try newer version: http://bugs.php.net/fix.php?id=28098&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=28098&r=support Expected behavior: http://bugs.php.net/fix.php?id=28098&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=28098&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=28098&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=28098&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28098&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=28098&r=dst IIS Stability: http://bugs.php.net/fix.php?id=28098&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=28098&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=28098&r=float