SZero Posted November 3, 2007 Share Posted November 3, 2007 hi every1.. am using a phpBB forum, a problem had occured lately when my friends started visiting the site, an error msg occure 'max user connections limit reached' and couldn't connect to db, what's this error and how to fix it? [the server is not on my pc] Link to comment https://forums.phpfreaks.com/topic/75950-max_user_connections-error/ Share on other sites More sharing options...
ChrisMayhew Posted November 3, 2007 Share Posted November 3, 2007 I believe that the Max Number of users that can connect to the server is set Server Side, so if say the max number of users that can connect to Apache at the same time was set at 500 and you was number 501 you would get this error. I think you would need to either ask your web host if this could be increased, but i really can't see them increasing it. Link to comment https://forums.phpfreaks.com/topic/75950-max_user_connections-error/#findComment-384430 Share on other sites More sharing options...
Daukan Posted November 3, 2007 Share Posted November 3, 2007 It might help if you are using persistent connections to change it use non persistent connections mysql_pconnect() to mysql_connect() Persistent connections can ... well persist keeping connections alive that aren't being used. Link to comment https://forums.phpfreaks.com/topic/75950-max_user_connections-error/#findComment-384437 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.