our asp site is taking very high cpu usage
what are the reasons for such high usage.
we have used stored procedures n also indexed the tables


is it possible to detect cpu usage and display a custom message to users to hold for some time if usage is very high

Recommended Answers

All 6 Replies

You can look for an ASP profiler and examine your code with that. My guess is there could be a bug causing a loop to run longer than necessary, but that's just a wild random guess.

What version of IIS are you using?

You can look for an ASP profiler and examine your code with that. My guess is there could be a bug causing a loop to run longer than necessary, but that's just a wild random guess.

I tried to use profiler from http://aspprofiler.sourceforge.net/
but its not working at 2nd step (giving js error)

i also found one at http://www.alphasierrapapa.com/iisdev/components/profiler/
but due to shared hosting we are unable to register dll

can you suggest any source for profiler

What version of IIS are you using?

Its IIS 6

ASP Profiler at http://aspprofiler.sourceforge.net/ says VBScript only, if you tried to use it on JavaScript ASP. Or you may have have a missing "On Error Resume Next" setting. Try the 2.2 version.

I dont have any problem on IIS7 i will try my site on iis6 in a few days.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.