A while back, I started a thread about generating thread dumps if a Cache TimeoutException
occurred (see
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=123989).
Another situation that comes to my mind would be when deployments take ~1 min, which are
the result of a DRM.add cluster sync call hanging or just been slow.
In both situations, getting a local or remote thread dump at the right point is key to
find out what it's going on. Currently, we're relying on users providing such
thread dumps and if they get the timing wrong, which can easily happen, it can get quite
frustrating cos they'd have to retry...etc.
Maybe this is something a monitoring tool could do? I.e. generate thread dumps in all
nodes in the cluster upon certain circumstances/triggers/events? This is certainly a cross
cutting concern not clustering specifically related, but it's key for Clustering in
general, hence why I opened the thread here. If there's a different forum where this
should be raised, please let me know.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4120170#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...