Question regarding mysql_connect/pconnect
| From: | Jeff Lewis | Date: | Thu, 29 Nov 2001 20:57:12 +0000 |
| Subject: | Question regarding mysql_connect/pconnect | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-76099@lists.php.net to get a copy of this message | ||
I was typically using pconnect but then read that for very busy sites you
can reach the max threads for mySQL quickly. So on my new server I have a
couple of scripts and they are using mysql_connect.
I was under the impression that these disconnected after script execution
but when checking, there are over 100 of the threads open yet not being
used.
Has anyone had this or know how to combat it?
Jeff