nWo Sting
12-09-2007, 03:08 AM
My web server suspended my account and would not tell me the specific reason. All they said was that I am using too much CPU and MEM on their shared server. They said I should upgrade to a dedicated server. The problem is the amount it costs for one month on a dedicated plan is much more that it currently costs me to host my site for an entire year. I am still well within my max storage space and max bandwidth, but I have no idea how to tell my max CPU. However they did hint that I may be using bad script by saying
"If the issue persist, you may want to upgrade all third party scripts to the latest versions and remove any script that are no longer in use."
They are really not giving me any clues as to what set it off, but the only non basic script I currently use are include codes and rollover codes. They did reactivate me but I need to fix this or they will suspend me again. I am wondering if using a different rollover code would help. Here is part of my current rollover code, you will notice the copyright 1999....
Or you can also just go to a page on my site to view the code (unless they suspend me again):
http://www.realmofdarkness.net/pranks/celebpranks.htm
or
http://www.realmofdarkness.net/games/home.php
<!--
// copyright 1999 Idocs, Inc. http://www.idocs.com/tags/
// Distribute this script freely, but please keep this
// notice with the code.
var rollOverArr=new Array();
function setrollover(OverImgSrc,pageImageName)
{
if (! document.images)return;
if (pageImageName == null)
pageImageName = document.images[document.images.length-1].name;
rollOverArr[pageImageName]=new Object;
rollOverArr[pageImageName].overImg = new Image;
rollOverArr[pageImageName].overImg.src=OverImgSrc;
}
function rollover(pageImageName)
{
if (! document.images)return;
if (! rollOverArr[pageImageName])return;
if (! rollOverArr[pageImageName].outImg)
{
rollOverArr[pageImageName].outImg = new Image;
rollOverArr[pageImageName].outImg.src = document.images[pageImageName].src;
}
document.images[pageImageName].src=rollOverArr[pageImageName].overImg.src;
}
function rollout(pageImageName)
{
if (! document.images)return;
if (! rollOverArr[pageImageName])return;
document.images[pageImageName].src=rollOverArr[pageImageName].outImg.src;
}
//-->
This is just the header, then there is more stuff that goes after the rollover images....
onMouseOver = "rollover('home')"
onMouseOut = "rollout('home')"><img border="0" src="www.removed link.jpg" width="216" name="home" height="108"></a><script TYPE="text/javascript">
<!--
setrollover("http://www.removed link.gif");
//-->
</SCRIPT>
Would using a simple and shorter rollover code even matter with the whole CPU/MEM issue? I am currently with Lunarpages and have already found a better deal with Host Monster, but I don't want to transfer to them and just get suspended again. I want to hold off on upgrading to a much higher web hosting plan as long as possible. Thanks for all your help.
"If the issue persist, you may want to upgrade all third party scripts to the latest versions and remove any script that are no longer in use."
They are really not giving me any clues as to what set it off, but the only non basic script I currently use are include codes and rollover codes. They did reactivate me but I need to fix this or they will suspend me again. I am wondering if using a different rollover code would help. Here is part of my current rollover code, you will notice the copyright 1999....
Or you can also just go to a page on my site to view the code (unless they suspend me again):
http://www.realmofdarkness.net/pranks/celebpranks.htm
or
http://www.realmofdarkness.net/games/home.php
<!--
// copyright 1999 Idocs, Inc. http://www.idocs.com/tags/
// Distribute this script freely, but please keep this
// notice with the code.
var rollOverArr=new Array();
function setrollover(OverImgSrc,pageImageName)
{
if (! document.images)return;
if (pageImageName == null)
pageImageName = document.images[document.images.length-1].name;
rollOverArr[pageImageName]=new Object;
rollOverArr[pageImageName].overImg = new Image;
rollOverArr[pageImageName].overImg.src=OverImgSrc;
}
function rollover(pageImageName)
{
if (! document.images)return;
if (! rollOverArr[pageImageName])return;
if (! rollOverArr[pageImageName].outImg)
{
rollOverArr[pageImageName].outImg = new Image;
rollOverArr[pageImageName].outImg.src = document.images[pageImageName].src;
}
document.images[pageImageName].src=rollOverArr[pageImageName].overImg.src;
}
function rollout(pageImageName)
{
if (! document.images)return;
if (! rollOverArr[pageImageName])return;
document.images[pageImageName].src=rollOverArr[pageImageName].outImg.src;
}
//-->
This is just the header, then there is more stuff that goes after the rollover images....
onMouseOver = "rollover('home')"
onMouseOut = "rollout('home')"><img border="0" src="www.removed link.jpg" width="216" name="home" height="108"></a><script TYPE="text/javascript">
<!--
setrollover("http://www.removed link.gif");
//-->
</SCRIPT>
Would using a simple and shorter rollover code even matter with the whole CPU/MEM issue? I am currently with Lunarpages and have already found a better deal with Host Monster, but I don't want to transfer to them and just get suspended again. I want to hold off on upgrading to a much higher web hosting plan as long as possible. Thanks for all your help.
