Re: Threads connected reaching maximum connection - using PEAR DB (without persistent)
| From: | Lukas Kahwe Smith | Date: | Tue, 28 Mar 2006 08:44:48 +0000 |
| Subject: | Re: Threads connected reaching maximum connection - using PEAR DB (without persistent) | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-23467@lists.php.net to get a copy of this message | ||
surendra kumar wrote:
Hellow smith, I am using Pear DB method to connect to mysql from my php applications (web based appliction using apache). I am not using persistent connection as well. For some reason the threads created during the application is not being terminated with the mysql, which accumulates to give "maximum number of connection error" over a period of time. Is there any configuration parameter or any solution that I can change to overcome this error?Not really .. for one are you sure you are not using persistent connections any where? Are you sure you are not just getting too many requests? Do you have the same number of possible open connections as you have maximum apache childs? regards, Lukas