Website Slow/Bogged Down - Help!

Status
Not open for further replies.

jsonx10

New Member
Messages
3
Reaction score
0
Points
1
Hello and good day to you!

My site, which I have been very busy with lately, is starting to slow down. The cause appears to be network latency (according to a Chrome extension that is measuring load times). It takes around 5-10 seconds sometimes for pages to load. Sometimes, resources don't even load--I'm sending requests and getting no response.
Other times, however, it seems fine, and it only takes 1-3 seconds for the pages to load. These load times are like a roller coaster, with no specific correlation/pattern.

The site is http://ajango.x10.mx, and the server is Vox. Is Vox going through something lately?

I've optimized my PHP scripts as best as I can (or so I think--I'm pretty sure I've patched a lot of stuff).
I have no problem upgrading to paid hosting/VPS or whatever; I planned on doing it--just not until I needed to. If this is that time, I'll gladly do it.

EDIT:
Just wanted to put this stuff out there, but I do the following things on the site:
  • Loop through MySQLi results [while ($result = mysqli_fetch_assoc($query){}]. Within these loops, I also create hashes using 1 md5()
  • Loop and execute queries (for($x = 0; $x < 10; $x++){$q = mysqli_query($db,"QUERY");}
I know these are not good habits to get in to, but I can't really avoid them. The loops are usually very small (less than 20 or so).

I do free MySQLi result sets, if that means anything.
 
Last edited:

essellar

Community Advocate
Community Support
Messages
3,295
Reaction score
227
Points
63
You're on a crowded server with thousands of accounts running scripts (CMSs, BBSs, crons) and hitting MySQL (mostly unnecessarily for what should have been static pages). Sometimes it's going to be slow. Sometimes you're going to be stuck in a queue that can't clear in time if you're doing anything more than hitting a static resource (you may be waiting for RAM or for a MySQL connection). You would need to move off of the basic Free Hosting servers to improve things much. Illuminated will do that, as will Premium or VPS. (Prime will not. It gives you additional resources and frees you from the login requirement, but you'd still be on one of the three Free Hosting servers.)
 

jsonx10

New Member
Messages
3
Reaction score
0
Points
1
I see... Where do I find the listings of these plan names? I've never heard them before. I've just heard of "x10 Premium".
 
Status
Not open for further replies.
Top