Click to See Complete Forum and Search --> : Server CPU Usage at 60%


Porters_Kid
11-26-2007, 11:19 AM
I am looking for any suggestions as to why our web server is always running high and then crashing. We have been moved to a new server and I have gone through and made all of my pages s clean as possible, including removing any code that would over tax the server (ie multiple server calls). I have even put the site into an all css layout. My only other guess could be the javascript I have inplace. Has anyone ever seen javascript kill a server, although javascript is client side, I guess I am pulling at any string to see if I can find a fix.

DeepText
11-26-2007, 11:42 AM
Starting from first principles, it's not likely that it's the javascript.
It's more likely to be the configuration of the web server.
I suggest a close examination of that first.
When it crashes, do you get any information?

DeepText
11-26-2007, 11:44 AM
Ah, I should have asked. Are you using asynchronous HTTP?
That could load a server, if it's done improperly.

Porters_Kid
11-26-2007, 11:52 AM
I try and get explanations from our host but its like pulling teeth. As far as http I have tried to keep all of my code as clean as possible so I don't think I have bad http requests.

ray326
11-26-2007, 02:16 PM
Did you do this with a bunch of Studio .NET stuff? It's taking a LONG time (> 1 sec) to send small (>10K) graphics files. You can run a profiler on the app and see where the time is being used.

Porters_Kid
11-26-2007, 03:01 PM
What kind of app would you suggest? we are running an classic asp on our server?

ray326
11-26-2007, 11:04 PM
Classic ASP shouldn't be loading the CPU at all. Are you doing things in the global.asa in the application and session sections? At the very least you need to run the task manager and see exactly which processes are the big CPU hogs. ASP in IIS shouldn't be doing that.