If your server was performing well, and then suddenly began these seemingly
random slowdowns I would look at recently deployed code.  When we
experienced these types of problems, we brought in a 3rd party consultancy
to help diagnose the problem.  Our problem turned out to be code that was
recently deployed which contained a CFSWITCH statement inside of a loop that
were evaluating as strings, which when under load caused threads to back up
and eventually hang the server.

A trick they showed us to diagnose these types of issues was to generate a
few thread dumps and compare the results.  A thread that was present across
the dumps signaled a good place to investigate as a problem area.

Here is a tech note on how to capture thread dumps from JRun:
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_18250&sliceId=1

In the thread dump look for lines that begin with "jrpp-", these are the
currently processing threads and they will contain the underlying java as
well as the CF that were being executed at the time of the dump.

HTH,
Rich


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288622
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to