Avoiding High Resource Usage?

Status
Not open for further replies.

dboy161268

New Member
Messages
3
Reaction score
0
Points
0
Hi there,

I just started up on x10hosting and find it amazing for what it offers. I just had a quick question regarding high resource usage.

I'm big on sharing and having everyone at an equal amount of anything, so I just wanna make sure where the line is drawn. I'm a bit basic when it comes to server load usage with websites, so bare with me and my simple examples. :p

If I had a page hosted here with lets say, 1MB worth of images on it; would I use my share of server load?

If no, lets say I had that 1MB worth of images on a page, that was loaded 1000 times in one day, would I use my share?

Just curious is all and I want to make sure I stay within my box. If anyone has better examples then the ones I wrote, it would be much apprieated. Thanks a lot!
 
Last edited:

Livewire

Abuse Compliance Officer
Staff member
Messages
18,169
Reaction score
216
Points
63
The high resource usage stuff doesn't actually have much to do with what's on the page so much as it does what the page itself is doing.

If all it's doing is load and display, it should be fine. PHP pages are usually the ones causing high-resource suspensions - the HRU stuff is based purely on cpu/ram/process count, which are used most heavily in a script that has to do some processing before it loads (even wordpress and the like use some just to connect to mysql and load the data).

If memory serves, the limits were 25% cpu for longer than 60 seconds (which is hard to get unless you're doing an automatic update or a script has gone rogue), higher than 5% ram (which on the servers is the equivalent of about 400mb according to the post I have saved on my upstairs pc) for 60 seconds, or more than 20 processes running for longer than 60 seconds (might've been changed to 30).

All three of these are hard to hit unless something's broken or not coded right; a good thing to avoid though is Caching plugins for any CMS/Forum software - they generate html pages that serve faster than the php pages, but they tend to use a lot of resources to actually make the html pages, which causes them to trip the suspension system.



If you do happen to get an HRU suspension, do NOT panic - the first two can be unsuspended by you, the third we have to do from here, but we can always get in touch with the higher-ups and get the log of what file caused it and what part did it trip on (cpu, ram, process count, or any/all of the above). HRU is -not- a zero tolerance permanent one, as quite often it's not intentional (user testing a php script and forgetting to increase a counter; I'm guilty of that one actually.)
 
Last edited:
Status
Not open for further replies.
Top