Hosting suspension explanation

Status
Not open for further replies.

meithan

Member
Messages
32
Reaction score
0
Points
6
To the x10hosting admins,

I am a new user of your website hosting service. My account was suspended at 5:03 today (Nov 18, 2009). The reason stated in my control panel is "You have been suspended for high system resource usage."

First of all, I would like to apologize sincerely and deeply for the cause of this suspension, for it was my fault. Allow me to explain. The purpose of registering with your website hosting service was to build a simple website so that myself and some acquaintances could submit NFL match forecasts in a place that is visible and accessible to all (no bets or monetary gains of any sort are intended here; the intention was solely entertainment among friends).

The intended operation was for a user to submit a form consisting of checkbox choices through the website and handle the data via a cgi script written in Python (which is the scripting language I am familiar with). Since I am new to cgi scripting, before implementing this I proceeded to do basic testing of Python script interaction with html form submission. To this end, I wrote a small script that calculates the Fibonacci sequence, with a minimal webpage that asks the user for the number of terms to calculate.

The problem occurred when I asked a friend of mine to test the webpage and he unexpectedly entered a large number in the input box. Since the time required to calculate the Fibonacci sequence depends on the number of terms asked, this caused, I would expect, my script to monopolize a large CPU usage for some period of time while the series was being calculated.

I am deeply embarrassed about my lack of prevision and common sense, for a simple check to limit user input to a manageable number would've avoided the whole issue.

I again direct a humble apology to you and would hope that there is a way to lift the suspension of the account you have kindly given me. I am very pleased with your service, especially for the support of Python scripting.

Sincerely,
Juan Toledo

My account is registered with the username 'meithan' and the suspension reason code isC7A4F764B44C.
 

Anna

I am just me
Staff member
Messages
11,752
Reaction score
581
Points
113
I have unsuspended your account and it should be unlocked in a few minutes.
Please do correct that as soon as possible to avoid further problems.
 

meithan

Member
Messages
32
Reaction score
0
Points
6
I thank you very much for your understanding. I have added a user input check to the script that should prevent high cpu usage. But most importantly I have learnt my lesson: I should *always* enforce user input checks to make sure the script can cause no undesirable behavior.
 

Anna

I am just me
Staff member
Messages
11,752
Reaction score
581
Points
113
yes, it is always good practice to make sure a user can not screw things up by adding wrong data.
 

meithan

Member
Messages
32
Reaction score
0
Points
6
I guess I'm just not accustomed to the rules of internet programming. On my computer I can CTRL+C to my heart's content and nobody is harmed. :happysad:

By the way, my account is no longer suspended, but my domain (meithan.exofire.net) is still not accesible. Is it a matter of waiting?
 

Anna

I am just me
Staff member
Messages
11,752
Reaction score
581
Points
113
It may take a bit to clear.

I can reach your address fine now, if you still have issues try clearing your browser cache.
 

Anna

I am just me
Staff member
Messages
11,752
Reaction score
581
Points
113
case closed. Closing thread as well.
 
Status
Not open for further replies.
Top