While you await a formal answer, I’ll say that as far as I know it’s not possible, no. It’s an interesting idea, though I would note that by the time there’s a 500 error, the request has ended so any stack trace would not be what the request was “doing” (which is what FR’s stack trace always shows). Indeed, I suspect you’re thinking perhaps of how CF has sometimes shown a brief stack trace when a page got an error. That would be up to CF to do, though, not FR.
I’d think by the time FR sees that the request ended with a 500, it would be as the request was leaving CF and being sent to the browser. FR acts as a servlet filter, wrapped around CF essentially, watching requests go in and out.
It can also do the Crash Protection alerts you talked about, which are not quite about “when a certain CPU or memory threshold is reached”, but specifically when either a request exceeds a certain duration, or the number of running requests exceeds a given number, or the amount of free heap falls below a certain percent. (Not being pedantic, just clarifying for you and perhaps anyone else not yet familiar with the CP alerts.) So “memory threshold” yes, “cpu”, no. And it’s more than these.
Indeed, let’s be clear: do you really mean a 500 error happening in a CF page, or perhaps a 500 error coming back to the browser, which may be not from CF but from IIS, being unable to get the request through to CF (because perhaps all the request threads were hung). In that case, there may be no 500 errors from CF (if the requests finally finish), but users may well have gotten them.
Just suggesting that watching for 500 errors is an interesting idea, but it may not be able to show what you’d hope (the stack trace), and it may also not catch all the 500’s as you’d hope.
Any thoughts, Cam, Intergral, or anyone else?
/charlie
--
You received this message because you are subscribed to the Google Groups "FusionReactor" group.
To post to this group, send email to fusion...@googlegroups.com.
To unsubscribe from this group, send email to fusionreacto...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/fusionreactor?hl=en.
> fusionreactor+unsubscribe@googlegroups.com.
Perhaps you should consider Hoth? http://aarongreenlee.com/share/hoth-coldfusion-errors-tracking-reporting/