Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-5321

OutOfMemoryError issue with JBoss Messaging 1.4.7 test suite on RHEL 6

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • EAP_EWP 5.1.0
    • EAP_EWP 5.1.0
    • Messaging
    • None
    • RHEL 6
      IBM JDK 1.6, Sun JDK 1.6, OpenJDK 1.6

    • Workaround Exists
    • Hide

      Increase OS configuration option ,,max user processes", see /etc/security/limits.conf.

      Show
      Increase OS configuration option ,,max user processes", see /etc/security/limits.conf.
    • Not Required

    Description

      We had OutOfMemoryError issue with JBoss Messaging 1.4.7 test suite on RHEL 6 platform.

      Problem occurred during the fail-over tests where test suite starts 6 servers on the local machine.

      Exception:
      java.lang.OutOfMemoryError: unable to create new native thread.

      Test suite was unable to start new thread. Server with RHEL 6 was clean installation (not configured or tuned) and problem was caused by OS configuration option ,,max user processes". Default value for this configuration option is 1024 and this is not enough for JBoss Messaging test-suite.

      Default value:
      ulimit -a
      max user processes (-u) 1024

      We have increased this configuration value to 30754 and issue is gone:
      ulimit -a
      max user processes (-u) 30754

      If you have same problem, you can change this configuration by adding following line to /etc/security/limits.conf.
      [your_user_name] soft nproc 30754

      Attachments

        Activity

          People

            pslavice@redhat.com Pavel Slavicek
            pslavice@redhat.com Pavel Slavicek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: