npsari Posted October 28, 2007 Share Posted October 28, 2007 The hosting company shut my site down, i told them "but i have plenty of bandwidth", they said this... You have plenty of bandwidth, your account just can't cause the server load to skyrocket. Normal load is ~ 3-5. Your site caused it to exceed 39, so it was suspended to maintain proper performance for everyone else. If this is normal for your site, you will need to look at dedicated services. Thanks. Can someone explain it in easy words, cus i dont understand what all that means i understand that i need to get my dedicated server for better performance, but what is the problem my site caused? Quote Link to comment Share on other sites More sharing options...
trq Posted October 28, 2007 Share Posted October 28, 2007 but what is the problem my site caused? I would say youve pushed the servers cpu load through the roof. How however is another question all together. There could be many reasons. Quote Link to comment Share on other sites More sharing options...
The Little Guy Posted October 28, 2007 Share Posted October 28, 2007 I believe that they are saying your site makes the server/computer's CPU to skyrocket. They say you should only use 3-5% CPU and you are using 39% CPU.... That is my take on the whole thing. Quote Link to comment Share on other sites More sharing options...
npsari Posted October 28, 2007 Author Share Posted October 28, 2007 Can this be due to that many people are linking to my site with an image which is also uploaded at my site can that consume CPU usage Quote Link to comment Share on other sites More sharing options...
The Little Guy Posted October 28, 2007 Share Posted October 28, 2007 everything uses CPU. As long as someone/something access your site, it will use some CPU Quote Link to comment Share on other sites More sharing options...
Jessica Posted October 29, 2007 Share Posted October 29, 2007 Yes, if they are hotlinking your image, everytime someone views their website with the image on it, it uses your site's resources. Use a decent host MediaTemple is a great one. Quote Link to comment Share on other sites More sharing options...
zq29 Posted October 29, 2007 Share Posted October 29, 2007 I doubt image hot-linking is causing that much load (Though, feel free to prove me wrong - Just sounds odd). I'd have thought it was more likely you have a poorly written script, or running CPU intensive tasks - You're not allowing users to upload files which you're then processing, are you? Quote Link to comment Share on other sites More sharing options...
Orio Posted October 29, 2007 Share Posted October 29, 2007 If it's an image hot-linking problem, this can be solved easily. Check this out: http://www.thesitewizard.com/archive/bandwidththeft.shtml Orio. Quote Link to comment Share on other sites More sharing options...
The Little Guy Posted October 29, 2007 Share Posted October 29, 2007 check you loops. do you have a large database? and when you process, you output tons of information to the screen? I created this script: http://phpsnips.com/snippet.php?id=29 and when It runs, it converts an image to text with colors and everything. It runs really quick on small images, but if the image becomes to large it can really KILL the server bringing the CPU WAY UP, and the web browser almost becomes non-respondent. Check for those huge loops and mass amount of data. Quote Link to comment Share on other sites More sharing options...
Daniel0 Posted October 29, 2007 Share Posted October 29, 2007 O(n!) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.