MyBB Community Forums

Full Version: Forum Loading Very Slow
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've been having complaints from members saying the forum is loading slow. I would really like to get this resolved asap. Any help would be greatly appreciated.

These are my debug stats from the footer:

Generated in 0.0940001 seconds (91.90% PHP / 8.10% MySQL)
SQL Queries: 9 / Global Parsing Time: 0.0742450 / Memory Usage: 5.75 MB
PHP version: 5.2.17 / Server Load: 48.28 / GZip Compression: Disabled

My site is http://OrdinanceGaming.com/forum
the times/queries are fine, its your hosts throughput that sucks.plus a server load of 48? i hope that is shared hosting on a VM type setup with 48 or more cores.....
From my limited knowledge about how hosting works and how MyBB works; you might be getting (D)DOSED. Check your bandwidth, and if it's higher than usual - you're more than likely being (D)DOSED. Either that, or you're trying to execute more information than your server can handle in a limited amount of time.

Probably none of those but worth an input.
Who is your host and what type of plan you have?

Server Load 48. . Omg,. I am using shared hosting but my serveload was 0 to 1 when I view my debug with 100+ users @peak time. I suggest to change your hosting provider.
You have two js scripts trying to load and returning a 404 if you are not using them take them out.

http://ordinancegaming.com/forum/youtube.../jquery.js (status: 404)
http://ordinancegaming.com/forum/youtube...fobject.js (status: 404)

Consider loading your prototype from google. Look in your htaccess and get some caching going.
I've just got standard web hosting on Hostmonster.

I'll look into the possibility of being ddosed, but I don't why anyone would.

Thanks's for letting me know about the scripts, I'll delete those. I'll try to start caching the site.

If none of this works, I'll be back. I really hope I don't need to change hosts, just paid for a full year of hosting with Hostmonster less than 3 weeks ago.
Definitely look into a host switch. Try Hawk Host, a lot of people love it. (link in my sig)
You can get a decent plan for only $2 a month, which is great!
(2012-12-06, 11:04 PM)Leefish Wrote: [ -> ]You have two js scripts trying to load and returning a 404 if you are not using them take them out.

http://ordinancegaming.com/forum/youtube.../jquery.js (status: 404)
http://ordinancegaming.com/forum/youtube...fobject.js (status: 404)

Consider loading your prototype from google. Look in your htaccess and get some caching going.

I had already removed the javascript files, but obviously the code remains. Any help on finding where it is located? Thanks!
(2012-12-07, 12:57 AM)OrdinanceGaming Wrote: [ -> ]
(2012-12-06, 11:04 PM)Leefish Wrote: [ -> ]You have two js scripts trying to load and returning a 404 if you are not using them take them out.

http://ordinancegaming.com/forum/youtube.../jquery.js (status: 404)
http://ordinancegaming.com/forum/youtube...fobject.js (status: 404)

Consider loading your prototype from google. Look in your htaccess and get some caching going.

I had already removed the javascript files, but obviously the code remains. Any help on finding where it is located? Thanks!

Where did you remove these from? Most JS is loaded in the headerinclude template.
I removed them from the paths in his post. I'll take a look in there, thanks.

EDIT: They were in the headerincludes file. Deleted them, and everything is loading lightning fast! Thanks to Leefish for identifying the issue, and thanks to pandaa for pointing me in the right direction. My members will be very pleased.