gple Posted April 4, 2007 Share Posted April 4, 2007 Occasionally on my website I will get this message appearing "Too many connections" where there is php code. On all of my php pages I am accessing a db but I dont have the mysql_close syntax. Is this causing this message? Link to comment https://forums.phpfreaks.com/topic/45586-too-many-connections/ Share on other sites More sharing options...
trq Posted April 4, 2007 Share Posted April 4, 2007 I dont have the mysql_close syntax. Is this causing this message? Not usually, garbage collection should take care of it. You dont happen to be using mysql_pconnect() do you? Link to comment https://forums.phpfreaks.com/topic/45586-too-many-connections/#findComment-221351 Share on other sites More sharing options...
gple Posted April 4, 2007 Author Share Posted April 4, 2007 NO i am not using that. This started happening last night. I run the website and database off the website host. Link to comment https://forums.phpfreaks.com/topic/45586-too-many-connections/#findComment-221355 Share on other sites More sharing options...
trq Posted April 4, 2007 Share Posted April 4, 2007 Well, it may very well be that you are getting to many hits for your mysql database server to handle. Whats the traffic like on this site? Do you have access to any of the log files associated with apache / mysql? Link to comment https://forums.phpfreaks.com/topic/45586-too-many-connections/#findComment-221363 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.