1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Site not loading - Fatal Error: XCache: Cannot init

Discussion in 'Server Configuration and Hosting' started by Sage Knight, Jun 7, 2014.

  1. Sage Knight

    Sage Knight Well-Known Member

    My site has been having this issue since this morning:

    Error Info
    ErrorException: Fatal Error: XCache: Cannot init - Unknown:0
    Generated By: Unknown Account, Today at 7:39 AM
    Stack Trace
    #0 [internal function]: XenForo_Application::handleFatalError()
    #1 {main}
    Request State
    array(3) {
      ["url"] => string(58) "http://www.XXXX.com/5986/"
      ["_GET"] => array(0) {
      ["_POST"] => array(0) {
    I've contacted my host and they told me it's related to a potentially bad XF addon that's causing 'memory leaks', so far things are extremely slow throughout my site. I already disabled all of my addons and even uninstalled a few.

    Any ideas?
  2. Adam Howard

    Adam Howard Well-Known Member

    Well if you disabled all your add-ons and also uninstalled the few recent that you added... Try commenting out the cache values you've added to your config.php IF this solve it, than the problem may very well likely be with your host configuration (despite what they tell you)
  3. Sage Knight

    Sage Knight Well-Known Member

    I don't have any backend cache mechanism at all, my config is literally only the database info.

    I have a feeling of that too, I didn't install anything for the past few weeks so I'm still looking on what I can do. So far even my control panel (Plesk) is as slow as the site.
  4. Adam Howard

    Adam Howard Well-Known Member

    Plesk uses more resource than even cPanel and way more than Direct Admin.

    But regardless, the control panel is typically system wide (vps or dedicated). If your control panel is running slow there is a problem with the configuration and has nothing to do with you copy of XenForo.

    Is this a shared, vps, or dedicated?
  5. Sage Knight

    Sage Knight Well-Known Member

    Now that I have checked I am able to login to my Plesk Panel (Previously I wasn't able to)

    It's a managed VPS.
  6. Adam Howard

    Adam Howard Well-Known Member

    OK, because it's a VPS that would imply that you have some control over it. It's managed which means you also have some help from your host.

    My guess is if you have not changed anything on the server or your site; perhaps Plesk did an auto update and something went "boom" (for a simple term). Plesk has been known to do that.

    But at least this does rule out your XenForo install
    Sage Knight likes this.
  7. Sage Knight

    Sage Knight Well-Known Member

    I actually just sent an e-mail regarding the same thing to my host (just a few mins ago). I did notice it 'auto' updated itself on the 5th of June.
    Adam Howard likes this.
  8. Slavik

    Slavik XenForo Moderator Staff Member

    Check to make your xcache config wasn't wiped out by the Plesk upgrade.
    Adam Howard likes this.
  9. Sage Knight

    Sage Knight Well-Known Member

    Whatever happened, it's now fixed. I didn't do anything besides disabling addons, maybe it was the host - can't say for certain as it's currently past midnight in the UK.

    I will try figuring this out as I'm really intrigued.
  10. Awful to hear you are having fatal issues.
    Fatal issues are fatal issues. The only way how to fix it is to get rid of the buggy/dodgy upgrade and download another copy of the software and start all over again. Do not use that dodgey add on from XF. Put that as a bug because it's obviously stuffed your forum up.
  11. MattW

    MattW Well-Known Member

    I'd personally think you ran out of space in the xcache, and it was no longer able to add to itself. Restarting PHP/Apache would have cleared the memory allocation to xcache, causing the sites to load again.
    Adam Howard likes this.
  12. Sage Knight

    Sage Knight Well-Known Member

    Well I can't exactly blame the addons since it took hours for the board to come back to normal even when I did uninstall a few addons. Things finally sorted this morning when my host also took another look.

    I also have a hunch it's a cache issue, 1) Because of the error mention xcache 2) Even when I did strip down my board it made no difference, it sorted out by itself (completely randomly).
  13. MattW

    MattW Well-Known Member

    Can you post the Xcache settings from your PHP.ini file?
    Adam Howard likes this.

Share This Page