determine what is causing cpu overhead on Win2003 & Coldfusion 5

on our server windows 2003 we run coldfusion 5 - basically it's all up and running just fine.
however sometimes there are times when cfserver takes 90% - 99% of the cpu as senn in the task manager. when this happens the server almost acts as "dead" - mostly, or better said always - the problem stays for some 5 minutes, and after that it's all fine.

for a long time we have monitored the server, unfortunately without finding out what cf-application or which domain causes this heavy cpu overhead.

we are looking for help to track this problem.

thank you in advance
joergen astroem
jastroemAsked:
Who is Participating?
 
pinaldaveCommented:
Hi jastroem,
We found once which file is running through IIS long and then looking towards all the relative files and found the loop. Well this is stupid or timeconsuming but we found it like that.

Regards,
---Pinal
0
 
pinaldaveCommented:
Hi jastroem,
The main cause of this happening is
Infinite loop. It will be good to check in your system if there is any infinite loop or long running loop.

Regards,
---Pinal
0
 
jastroemAuthor Commented:
hi

there will probabaly be some long running loops in some applications, but any infinite loops probably not. but who knows, such things can happen, and might even "lay around" on the server as forgotten file.

but how to track that particular file down... on a server with quite a number of domains and 10-thousands of files? or at at least try to find out what files where requested around the moment when the problem occured. whe have - offcourse - checked all cf-log files for any hints...

kind regards
joergen
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

 
jastroemAuthor Commented:
ok

that sounds as a possible solution, but - as you write - quite time consuming.
let's see if someonelse have an idea.

thx
joergen
0
 
mrichmonCommented:
Since you are running Cold Fusion 5 it could also be memory leaks.

Are you sure that you use locking around session,client,application variables?

If not that is a very likely cause.

And this is easy to look for - do a search for the sessions scope and look to see if there is a cflock when you access it.
0
 
Tacobell777Commented:
Enable logging of long executing pages under the CF Admin (if CF 5 has this), then have a look at the log files of CF to see what pages take so long to execute or even time out...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.