1 Reply Latest reply on Jul 13, 2011 1:33 PM by peterj

    jboss 4.2.3 GA hangs

    john0135

      Hi Group,

       

       

      we are runnning our application in Jboss 4.2.3 GA server.

       

      Server responds well to HTTP requests when there are upto 30 users , when we try to add more users to access the portal it hangs forever.

       

      which forces us to restart the server quite often.

       

       

      Do we need to change any settings in Jboss configuration. Kindly advice

       

      Note: It doesnt even writes any thing to server.log when it hangs

       

       

      Thanks

      Sam

        • 1. Re: jboss 4.2.3 GA hangs
          peterj

          When it "hangs", what is the CPU usage?

           

          Have you taken any thread dumps to see what the threads are doing? Usually, if the CPU usage is high, you can take 2 or 3 thread dumps about 15 seconds apart and compare them - what you are looking for is threads that are not waiting for input but rather are in the middle of processing. Often you can find infinite loops in yoy code that way.

           

          On the other hand, if CPU usage is low, then that means that some threads are hung waiting for outside repsonses. In that case look for threads that have large stack traces and are waiting for something. The same thing can happen in a deadlock situation with many threads waiting on the same object or set of objects.