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

Home page loading too slow

Discussion in 'XenForo Questions and Support' started by JackieeXP, Jul 31, 2012.

  1. JackieeXP

    JackieeXP Member

  2. RobParker

    RobParker Well-Known Member

    That's a bit of an understatement. It was over a minute before it even started doing anything. I'd turn on debug mode to see which queries are slow (and the twitter/Facebook stuff will slow it down) but I think you should start by pinging your server.
  3. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    As Rob suggested, enable debug mode by adding this line to your library/config.php file:

    $config['debug'] = 1;
    That will add load stats to the bottom of the page, as well as a link to fully explain the queries on the page. That may help to isolate the bottleneck.

    You should also check your server load. Run the "top" command on your server to see load stats. Maybe your server is out of memory or has a process that is hogging CPU cycles. The "top" stats may reveal this.
  4. JackieeXP

    JackieeXP Member

    well my hosting is network solutions so idk what to say but ill try the code you provided to me.

Share This Page