Account suspended due to high resource use

Status
Not open for further replies.

etrading

New Member
Messages
2
Reaction score
0
Points
0
Reference: SPND_RUSAGE3

To whom it may concern:

I have been experimenting with a php function/script library using the x10 free hosting plan. I have been suspended for consuming system resources several times, and this last time I could not resolve the issue by just reactivating the account myself.

I really would like to test the script set before going for a paid hosting plan at x10hosting, but there is no way I can monitor the resource usage myself.

Or is there? Could someone please clarify this, and, if possible, reactivate my account once more. I would like to take my files away from the server, if nothing else.

Kind regards

ET
 

stpvoice

Community Support Rep
Community Support
Messages
5,987
Reaction score
212
Points
63
These are the criteria for resource usage suspesnion:


Corey said:
As part of our maintenance we have re-instated our high resource usage policy which is being enforced by our backend system. If your user name uses more than a certain amount of resources for a prolonged period of time it is automatically suspended. The suspension starts out as 15 minutes, then raises by 15 minutes each consecutive time your account is suspended. Once it gets above an hour it requires a manual unsuspension from staff.

Example:
User corey has 8 processes running all using 4% CPU each = 32% total CPU. This would be flagged. If corey consistently uses X amount of resources over the next few minutes the account will be suspended.

CPU, Memory, and Processes are all weighted in making up the rating that gets you suspended. We did thorough testing on this and only accounts that consistently day after day have been in the top 10 for server resource usage overall for their server are being caught by this script.

#1 common cause for this issue is having poorly coded mods and add-ons installed to a CMS or forum. Every time a page is loaded on your forum or CMS when you have mods\add-ons adds extra queries and files that need to be loaded. This causes a huge problem when someone can easily look at 10+ pages within a few seconds and you have a good amount of users.
Note: We do not support 3rd party scripts so do not ask us to figure out what is causing the problem, you are responsible for everything you host and keeping your site within our guidelines.

#2 common cause, your site might have out grown free hosting. It might be time for you to upgrade to paid hosting, even if it is not with us. With free hosting you are sharing resources with a lot more people than you would at any paid host, this means we have to be more strict with how the resources are divided up.

Another example, it took someone using 15%+ CPU for over 3 minutes to get suspended while we were testing. So it is not set that low. You really have to be using a good amount to be affected by this.

And, an account manager will unsuspend you soon.
 

Anna

I am just me
Staff member
Messages
11,751
Reaction score
581
Points
113
I have unsuspended your account.

There's no way that I know of to monitor usage.

I checked the logs of the events that lead up to suspension, and it appears as it is the file /public_html/reportpage.php that's causing issues, using to much of the CPU (as highest 85%, lowest mark at 27%)
 

etrading

New Member
Messages
2
Reaction score
0
Points
0
Thanks for prompt action.

I know what's causing the high resource consumption - there is a bunch of heavy-duty number crunching being done - and I apologize for that. I have attempted to optimize the code, but still...

In an attempt to avoid being suspended in the future, as far as I gather from stpvoice's mail (quoted below), I should probably have a break of some minutes between individual script runs. Would this help in my case?

<quote>
Example:
User corey has 8 processes running all using 4% CPU each = 32% total CPU. This would be flagged. If corey consistently uses X amount of resources over the next few minutes the account will be suspended.
<unquote>

Thanks again.
ET
 

stpvoice

Community Support Rep
Community Support
Messages
5,987
Reaction score
212
Points
63
That would be a good idea-as every 3 times you have to come here and hope that an AM is online to unsuspend you-and eventually they'll get fed up, and you may end up with difficulties then.

Good luck. :)
 

Anna

I am just me
Staff member
Messages
11,751
Reaction score
581
Points
113
That would be a good idea-as every 3 times you have to come here and hope that an AM is online to unsuspend you-and eventually they'll get fed up, and you may end up with difficulties then.

Good luck. :)
When you have hit the third warning once, there's no going back to being able to unsuspend your account as far as I know.
 
Last edited:

lemon-tree

x10 Minion
Community Support
Messages
1,420
Reaction score
46
Points
48
I really would like to test the script set before going for a paid hosting plan at x10hosting
If you are just doing private testing, I would recommend setting up a server on your local machine or old computer. That way you won't have to worry about suspensions. Doing so would also allow you to see how resource intensive your scripts are and let you optimise them further.
The quickest way of setting it up would be to use XAMMP. If you need more tweaking, you may have to compile from source or use builds for the individual components.
 
Status
Not open for further replies.
Top