3 Replies Latest reply on Sep 23, 2003 4:54 PM by adrian.brock

    Connection refused after a while

    akirdat

      The JMS server stops accepting connections after it has run for a while under load. I am using JBoss-3.2.1 with IBM JDK1.3.1 on RedHat Linux AS2.1
      My socket connecitons on the OS is set for 10240, so I know I am not hitting that limit.
      Also, the whole server freezes when this happens.

      Anybody have any ideas?

        • 1. Re: Connection refused after a while

          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?

          Regards,

          Stephane

          • 2. Re: Connection refused after a while
            lhankins

            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).

            • 3. Re: Connection refused after a while

              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).

              Regards,
              Adrian