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?
 
pinaldaveConnect With a Mentor Commented:
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
[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

 
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
 
mrichmonConnect With a Mentor Commented:
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
 
Tacobell777Connect With a Mentor Commented:
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
All Courses

From novice to tech pro — start learning today.