[cfaussie] Coldfusion, Taking a thread dump when response times increase?

2010-02-01 Thread BarryC
Hi,

Does anyone know if there is a way to generate a thread dump
automatically when server response times increase? I know how to do
one manually, but that's no good if I'm not around when the response
times increase. Does FusionReactor do this by any chance?

Thanks
Barry

-- 
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaus...@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



RE: [cfaussie] Coldfusion, Taking a thread dump when response times increase?

2010-02-01 Thread charlie arehart
Yes, Barry. That's what I was referring to late last week:

On the matter of FR's CP, let's clarify that there are two uses of the CP
feature. The first is just to notify you when conditions exceed the limits
you mention (like a request taking more than x seconds, more than x
requests running at once, less than x% memory available). If you just
have it notifying you by email, that can be very helpful. Indeed, I often
recommend it. ... What I really like about the notifications (any of these
create) is that they include additional detail like what requests are
running at the time, how long, etc. and they include a thread dump: a list
of all running requests and a stack trace of each, which helps you see down
to the line of code what the request is doing. Again, once you've been shown
how to understand those, it can be so valuable to solving problems. I'll be
talking about how to get and analyze stack traces for CF requests (with both
built-in and third-party tools) as my talk at cf.Objective() in April. Until
then, a google search will turn up many discussions of how to get and use
stack traces in CF.

So yes, you can get thread dumps from FR on an automated basis. As you note,
it's really vital for being able to solve problems when you're not there. 

And as I noted in that same message, what FR call's Crash Protection, the
CF 8/9 Monitor calls Alerts, and it too can send you an email with the
thread dump (in what it calls a snapshot).

/charlie


 -Original Message-
 From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On
 Behalf Of BarryC
 Sent: Monday, February 01, 2010 7:16 PM
 To: cfaussie
 Subject: [cfaussie] Coldfusion, Taking a thread dump when response
 times increase?
 
 Hi,
 
 Does anyone know if there is a way to generate a thread dump
 automatically when server response times increase? I know how to do
 one manually, but that's no good if I'm not around when the response
 times increase. Does FusionReactor do this by any chance?
 
 Thanks
 Barry
 
 --
 You received this message because you are subscribed to the Google
 Groups cfaussie group.
 To post to this group, send email to cfaus...@googlegroups.com.
 To unsubscribe from this group, send email to
 cfaussie+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/cfaussie?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaus...@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.