ErikC Posted January 26, 2021 Posted January 26, 2021 Hello - I am hoping someone can help me here as I am not sure what is going on but my hoster says it is nothing on their end. My site was functioning perfectly until the other day - nothing has been changed in the way of add-ins or theme or anything at all from the admin side when it just decided to start throwing errors. Sometimes it stops throwing the errors and works perfectly. I either get Error 500 - Error 503 - or Exceeded Database Connections. User 'xxxxxxx' has exceeded the 'max_user_connections' resource (current value: 15) I accessed the log file at uploads/log and here is what is being CONSTANTLY WRITTEN REPETITIVELY when it is down - If you erase the file, it starts writing again immediately and gros very quickly to several MB then after like half hour or so will be over 100 MB - THe same two groups of errors on repeat. Sun, 24 Jan 2021 03:44:57 +0000 Error: Call to a member function language() on null (0) #0 /home/u395429916/domains/empirecheats.net/public_html/system/Dispatcher/Front.php(679): IPS\Dispatcher\_Standard::baseJs() #1 /home/u395429916/domains/empirecheats.net/public_html/init.php(893) : eval()'d code(18): IPS\Dispatcher\_Front::baseJs() #2 /home/u395429916/domains/empirecheats.net/public_html/init.php(893) : eval()'d code(16): IPS\Dispatcher\nexus_hook_frontDispatcher::baseJs() #3 /home/u395429916/domains/empirecheats.net/public_html/system/Dispatcher/Front.php(81): IPS\Dispatcher\bimchatbox_hook_includeJSandCSS::baseJs() #4 /home/u395429916/domains/empirecheats.net/public_html/system/Dispatcher/Dispatcher.php(109): IPS\Dispatcher\_Front->init() #5 /home/u395429916/domains/empirecheats.net/public_html/index.php(13): IPS\_Dispatcher::i() #6 {main} #0 /home/u395429916/domains/empirecheats.net/public_html/init.php(995): IPS\_Log::log('Error: Call to ...', 'uncaught_except...') #1 [internal function]: IPS\IPS::exceptionHandler(Object(Error)) #2 {main} Then the second group PS\Db\Exception: User 'u395429916_d4rks1d3' has exceeded the 'max_user_connections' resource (current value: 15) (1226) #0 /home/u395429916/domains/empirecheats.net/public_html/system/Db/Db.php(356): IPS\_Db->_establishConnection(false) #1 /home/u395429916/domains/empirecheats.net/public_html/system/Db/Db.php(487): IPS\_Db->checkConnection(false) #2 /home/u395429916/domains/empirecheats.net/public_html/system/Db/Select.php(383): IPS\_Db->preparedQuery('SELECT * FROM `...', Array, true) #3 /home/u395429916/domains/empirecheats.net/public_html/system/Db/Select.php(441): IPS\Db\_Select->runQuery() #4 /home/u395429916/domains/empirecheats.net/public_html/system/Db/Select.php(365): IPS\Db\_Select->rewind() #5 /home/u395429916/domains/empirecheats.net/public_html/system/Session/Store/Database.php(60): IPS\Db\_Select->first() #6 /home/u395429916/domains/empirecheats.net/public_html/system/Session/Front.php(106): IPS\Session\Store\_Database->loadSession('d480d92d4fd56ad...') #7 [internal function]: IPS\Session\_Front->read('d480d92d4fd56ad...') #8 /home/u395429916/domains/empirecheats.net/public_html/system/Session/Session.php(91): session_start() #9 /home/u395429916/domains/empirecheats.net/public_html/system/Dispatcher/Front.php(458): IPS\_Session::i() #10 /home/u395429916/domains/empirecheats.net/public_html/system/Dispatcher/Front.php(39): IPS\Dispatcher\_Front->checkCached() #11 /home/u395429916/domains/empirecheats.net/public_html/system/Dispatcher/Dispatcher.php(109): IPS\Dispatcher\_Front->init() #12 /home/u395429916/domains/empirecheats.net/public_html/index.php(13): IPS\_Dispatcher::i() #13 {main} #0 /home/u395429916/domains/empirecheats.net/public_html/init.php(995): IPS\_Log::log('\nIPS\\Db\\Excepti...', 'uncaught_except...') #1 [internal function]: IPS\IPS::exceptionHandler(Object(IPS\Db\Exception)) #2 {main} This is driving me insane and I cant figure it out. I have a friend with an almost identical install of IPS - just a different business, we compared the files mentioned in the errors and our files are identical. We dont know what is happening. On the DB side, this is what my pHP admin is showing: (attached) Can someone let me know if theyve seen this before or what to check? Thanks so much in advance - I am currently out of the country trying to work on this on a dmonican wifi connection with like no cell service. Ugh. Thanks!
MEVi Posted January 27, 2021 Posted January 27, 2021 I also had a similar error while the forum is under maintenance and there is no member. Wed, 27 Jan 2021 04:24:01 +0000 IPS\Db\Exception::2002 No such file or directory #0 /.../system/Db/Db.php(356): IPS\_Db->_establishConnection(false) #1 /.../system/Db/Db.php(487): IPS\_Db->checkConnection(false) #2 /.../system/Db/Select.php(383): IPS\_Db->preparedQuery('SELECT * FROM `...', Array, false) #3 /.../system/Db/Select.php(441): IPS\Db\_Select->runQuery() #4 /.../system/Task/Task.php(194): IPS\Db\_Select->rewind() #5 /.../applications/core/interface/task/task.php(54): IPS\_Task::queued() #6 {main}
bfarber Posted January 27, 2021 Posted January 27, 2021 For some reason you are exceeding the maximum number of allowed MySQL connections. Are any other portions of your site or server using the same MySQL details which may be consuming the resources? If your site was working fine, you didn't make any changes, and suddenly things started going haywire like this I'd tend to think either (1) your site is being attacked, or (2) something has changed on the server side.
Recommended Posts