Check if you are closing all your JMS connections, but I assume you already did that.
What ConnectionFactory are you using? Are you using external JMS client?
You can also use the Admin console to see how many current subscriptions are active for a given destination.
In the Admin Console, look under :
System | JMX Beans | jboss.mq.destination
There should be a sub-node for each destination you've configured. If you select one of your destinations, one of the properties in the right hand frame is AllSubscriptionsCount - you can watch this go up/down as you have clients connect to the JMS destination.
Obviously - if you have a leak, this number will continue to rise (and never go down).
Make sure you configured ulimit for the
shell process before starting jboss.
I've also heard of jvm freezes using Oracle's OCI
driver on linux (usually during periods of inactivity).