I had a problem with the external host where my Perl/CGI is running. At some point there was not enough memory and my process probably took the rest and thus killed a box.
As a result my account was suspended. Any recommendation to takle this problem?
Does it make sense, for example, when a client sends me a request to check the box CPU usage in my Perl program and say, if idling is less than 30%, loop it with sleep untill it becoms bigger?
If it does make sense how to better do it, or any other advices..