[imp] Too many connections ?

Anil Madhavapeddy anil@recoil.org
Mon, 6 Nov 2000 11:59:05 -0000


Dave Wilson wrote:
> 
> Any ideas on how to sort this out ?
> "Nov  6 12:17:20 mail httpd[16565]: PHP Warning:  Too many connections in
> /usr/local/php/db_mysql.inc on line 73"  ??
> Thanks ;-)
> 

Probably exactly that - you are trying to make too
many connections to your MySQL server.

Normally happens if you have more httpd processes than mysql connections.
The httpds all maintain persistent connections, and so the new httpds
are refused connections to the db.

Try cranking up the number of mysql connections, or stop using persistent
httpd connections.

--                      
 Anil Madhavapeddy / "I told you not to flush that!" 
 anil@recoil.org   /    Stern Lecture Plumbing