Eric-

First, make sure SeeFusion is configured to do stack traces.  I don't have
the admin in front of me and I can't remember where this is, but it
shouldn't be hard to find.  I seem to remember that there is some minor
tweak you sometimes have to make to CF to make them work.

Next, in the alerts config, I usually setup am email alert to send me a
stack trace when the threads are about to max out.  For example, if your
max is 16, set this alert to fire off when you reach 14 of 15 concurrent
threads.  You want to catch it when a problem is happening, but not when
it's dying so bad that you can't get a good trace.  Also - I typically
setup the alert to only tell me about the problem once every two minutes.
 I can't remember that setting, but it's in the alert config.

I usually setup a similar email alert for requests taking almost the max
time allowed.  For example, if you have a request timeout of 30 seconds,
have it email you a stack trace at 28 seconds, just before the shit hits
the fan.  If you aren't using any timeouts, then just pick a number that
you think means "something has gone terribly wrong and I'd like to know
about it".

Once you have a good stack trace or two, scour them for anything that looks
out of place.  Essentially you will be looking at all the code that was
executing inside CF when the problem happened.  If the trace doesn't make
sense to you, sanitize a suspicious bit or two of it and post it to the
list or somewhere on the web we can see it.

Lastly - you may wan tto setup a gmail account to catch these emails.  If
something goes real wrong, you may get lots of mail.

-Cameron

On Wed, Dec 14, 2011 at 2:46 PM, Eric Roberts <
ow...@threeravensconsulting.com> wrote:

> We do have alerts that let us know when we have maxed out the
> threads...but i am not sure how to measure the character of that...if it
> is, as Cam said...just a fat thread that is churning away, or a bunch of
> queued threads awaiting a response from the DB.  I am pretty new here and
> have never used SeeFusion before...so again, forgive my ignorance...
>


-- 
Cameron Childress
--
p:   678.637.5072
im: cameroncf
facebook <http://www.facebook.com/cameroncf> |
twitter<http://twitter.com/cameronc> |
google+ <https://profiles.google.com/u/0/117829379451708140985>

...


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349131
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to