CF cannot terminate threads in a "native thread" state

Charlie Arehart replied with this on [cfaussie]:

>>> "charlie arehart" 10/12/2009 10:58 am >>> Scott, as far as I can tell, nothing has changed in the CF Enterprise Server Monitor from 8 to 9. Both it, and FusionReactor, and SeeFusion can all attempt to kill requests.

Just beware: such an attempt is only that, an "attempt". There's no guarantee it can be interrupted. If a CF request is in what's called a native thread (that is, talking to something outside of CF, such as hung talking to a database, doing a cfhttp, or invoking a web service, etc.) then none of the tools can interrupt the request.

Yes, that does mean that CF requests can hang for a very long time, indeed indefinitely in some cases and that you can't really do anything about it. And no, not even the CF admin timeout setting can change this. It's subject to the same limitation. It is worth noting that putting a TIMEOUT on CFHTTTP or CFINVOKE is a good ideas, as sometimes it can allow CF to interrupt those. We had a discussion of that here last year, if I recall. There's also a TIMEOUT on CFQUERY too, but it doesn't always work and depends on the drive version, type, database, and other variables.

Finally, should anyone wonder, all this inability to timeout requests in a native thread state is not a CF bug. It's a JVM thing. The CF "kill thread" mechanisms above merely processes ask the JVM to terminate the thread, and it cannot terminate threads in a "native thread" state.

Comments
CoachHeels's Gravatar http://www.coachoutletmalls.com/ coach bags outlet
http://www.guccihandbagsoutlet.com/ gucci outlet online
http://www.guccihandbagsoutlet.com/ gucci handbags
http://www.coachoutletmalls.com/coach-handbags-coach-luggage-bags-c-65_116.html" target="_blank">http://www.coachoutletmalls.com/coach-handbags-coa... Coach Luggage Bags
http://www.coachoutletmalls.com/coach-handbags-coach-garnet-bags-c-65_126.html Coach Garnet Bags
http://www.coachoutletmalls.com/coach-handbags-coach-spotlight-bags-c-65_128.html" target="_blank">http://www.coachoutletmalls.com/coach-handbags-coa... Coach Spotlight Bags
http://www.coachoutletmalls.com/coach-handbags-coach-top-handle-pouch-c-65_131.html" target="_blank">http://www.coachoutletmalls.com/coach-handbags-coa... Coach Top Handle Pouch
http://www.coachoutletmalls.com/coach-handbags-coach-travel-bags-c-65_133.html Coach Travel Bags
http://www.coachoutletmalls.com/coach-wallets-new-coach-wallets-c-74_134.html New Coach Wallets
http://www.guccihandbagsoutlet.com/gucci-handbags-gucci-totes-c-10_33.html" target="_blank">http://www.guccihandbagsoutlet.com/gucci-handbags-... Gucci Totes
http://www.guccihandbagsoutlet.com/gucci-leather-wallets-c-22.html" target="_blank">http://www.guccihandbagsoutlet.com/gucci-leather-w... Gucci Leather Wallets
http://www.guccihandbagsoutlet.com/gucci-sunglasses-c-4.html" target="_blank">http://www.guccihandbagsoutlet.com/gucci-sunglasse... Gucci Sunglasses
http://www.guccihandbagsoutlet.com/gucci-shoes-c-6.html" target="_blank">http://www.guccihandbagsoutlet.com/gucci-shoes-c-6... Gucci Shoes
http://www.guccihandbagsoutlet.com/gucci-shoes-gucci-leather-shoes-c-6_16.html" target="_blank">http://www.guccihandbagsoutlet.com/gucci-shoes-guc... Gucci Leather Shoes
http://www.guccihandbagsoutlet.com/gucci-shoes-gucci-men-slippers-c-6_20.html" target="_blank">http://www.guccihandbagsoutlet.com/gucci-shoes-guc... Gucci Men Slippers
http://www.guccihandbagsoutlet.com/gucci-shoes-gucci-sandals-c-6_17.html" target="_blank">http://www.guccihandbagsoutlet.com/gucci-shoes-guc... Gucci Sandals
# Posted By CoachHeels | 7/25/10 11:48 PM
BlogCFC was created by Raymond Camden. This blog is running version 5.9.1.002. Contact Blog Owner