Try getting several "Full Thread Dumps" in a row from the time of the hang.  Then look for thread stacks in the dumps from running cfm templates (look for a jrpp-xxx thread id at the top of the stack and a reference to ".cfm:" in the stack).  Those thread stacks in the thread dumps will tell you what the server was executing.  If you see the same thread id operating on the same template in sequential thread dumps, then that's likely your candidate to troubleshoot.


http://www.macromedia.com/support/coldfusion/ts/documents/tn18339.htm <http://www.macromedia.com/support/coldfusion/ts/documents/tn18339.htm>


HTH,
Steven Erat

-----Original Message-----
From: Ian Skinner [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2003 11:51 AM
To: CF-Talk
Subject: HELP!!! How do I debug server hogging code.

I've got some code that recently started hanging and tying up the server
when it is run.  It does not throw any errors, but it also never returns any
results.  It is effecting the entire server box when it does this.  

Can anybody provide some easy to follow steps on how I could get a better
picture on what is happening on the server when this code runs.

--------------
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
  _____  


[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to