Duane A. Couchot-Vore wrote:
> I've been writing PHP/MySQL scripts for years and have never seen such
> an error.  In fact, I can't imagine a real-world PHP script that would
> do. This. As a first line of attack, you might try making sure that
> you free all your result sets as soon as you are through with them,
> assuming that you have MySQL.
>   
Duane, i got it all figured out.
turns out i just needed to edit the setting in my.cnf

real world example = me :)

i'm on a dedicated server with quad procs, and run a vbulletin forum.
my site simply is getting more and more traffic which during peak times 
caused these max connections to occur.
default is 100
i upped to to 500

> Unfortunately, I have a bad feeling that the problem might not be
> yours at all.  Many shared hosting providers run only a single
> instance of both apache and MySQL for all users.  Therefore, it could
> be another user tying up the connections and you who are suffering for
> it.  It would be worth talking to your provider about.

Reply via email to