11 Replies Latest reply on Apr 15, 2015 7:38 AM by abood_v

    java.lang.OutOfMemoryError While starting other-server-group that using full-ha:

    abood_v

      I am trying to start the web application on three machines but I've java.lang.OutOfMemoryError only on one server of three machines on testing environment:

       

      Jboss version: Jboss Eap 6.3.

      OS : Red Hat Enterprise Linux Server release 6.5.

      Server Groups Configuration:

       

       

      Name:

       

      default

       

      Heap Size:

       

      4096m

       

      Max Heap Size:

       

      20480m

       

      Permgen Size:

       

      1024m

       

      Max Permgen Size:

       

      2048m

      :

       

      Stack trace exception:

      [Server:server-three-nodeA] 10:54:10,227 ERROR [stderr] (ActiveMQ Task-1) Exception in thread "ActiveMQ Task-1" java.lang.OutOfMemoryError: unable to create new native thread [Server:server-three-nodeA] 10:54:10,227 ERROR [stderr] (ActiveMQ Task-1)      at java.lang.Thread.start0(Native Method) [Server:server-three-nodeA] 10:54:10,227 ERROR [stderr] (ActiveMQ Task-1)      at java.lang.Thread.start(Thread.java:713) [Server:server-three-nodeA] 10:54:10,227 ERROR [stderr] (ActiveMQ Task-1)      at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:949) [Server:server-three-nodeA] 10:54:10,228 ERROR [stderr] (ActiveMQ Task-1)      at java.util.concurrent.ThreadPoolExecutor.processWorkerExit(ThreadPoolExecutor.java:1017) [Server:server-three-nodeA] 10:54:10,228 ERROR [stderr] (ActiveMQ Task-1)      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1163) [Server:server-three-nodeA] 10:54:10,228 ERROR [stderr] (ActiveMQ Task-1)      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [Server:server-three-nodeA] 10:54:10,228 ERROR [stderr] (ActiveMQ Task-1)      at java.lang.Thread.run(Thread.java:744) [Server:server-one] 10:54:12,427 ERROR [stderr] (Remoting "nodeA:server-one:MANAGEMENT" task-11) Exception in thread "Remoting "nodeA:server-one:MANAGEMENT" task-11" java.lang.OutOfMemoryError: unable to create new native thread [Server:server-one] 10:54:12,427 ERROR [stderr] (Remoting "nodeA:server-one:MANAGEMENT" task-11)        at java.lang.Thread.start0(Native Method) [Server:server-one] 10:54:12,427 ERROR [stderr] (Remoting "nodeA:server-one:MANAGEMENT" task-11)        at java.lang.Thread.start(Thread.java:713) [Server:server-one] 10:54:12,427 ERROR [stderr] (Remoting "nodeA:server-one:MANAGEMENT" task-11)        at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:949) [Server:server-one] 10:54:12,427 ERROR [stderr] (Remoting "nodeA:server-one:MANAGEMENT" task-11)        at java.util.concurrent.ThreadPoolExecutor.processWorkerExit(ThreadPoolExecutor.java:1017) [Server:server-one] 10:54:12,428 ERROR [stderr] (Remoting "nodeA:server-one:MANAGEMENT" task-11)        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1163) [Server:server-one] 10:54:12,428 ERROR [stderr] (Remoting "nodeA:server-one:MANAGEMENT" task-11)        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [Server:server-one] 10:54:12,428 ERROR [stderr] (Remoting "nodeA:server-one:MANAGEMENT" task-11)        at java.lang.Thread.run(Thread.java:744) [Server:server-two] 10:54:12,435 ERROR [stderr] (ServerService Thread Pool -- 76) Exception in thread "ServerService Thread Pool -- 76" java.lang.OutOfMemoryError: unable to create new native thread [Server:server-two] 10:54:12,436 ERROR [stderr] (ServerService Thread Pool -- 76)      at java.lang.Thread.start0(Native Method) [Server:server-two] 10:54:12,436 ERROR [stderr] (ServerService Thread Pool -- 76)      at java.lang.Thread.start(Thread.java:713) [Server:server-two] 10:54:12,436 ERROR [stderr] (ServerService Thread Pool -- 76)      at org.jboss.threads.JBossThread.start(JBossThread.java:144) [Server:server-two] 10:54:12,436 ERROR [stderr] (ServerService Thread Pool -- 76)      at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:949) [Server:server-two] 10:54:12,437 ERROR [stderr] (ServerService Thread Pool -- 76)      at java.util.concurrent.ThreadPoolExecutor.processWorkerExit(ThreadPoolExecutor.java:1017) [Server:server-two] 10:54:12,437 ERROR [stderr] (ServerService Thread Pool -- 76)      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1163) [Server:server-two] 10:54:12,437 ERROR [stderr] (ServerService Thread Pool -- 76)      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [Server:server-two] 10:54:12,437 ERROR [stderr] (ServerService Thread Pool -- 76)      at java.lang.Thread.run(Thread.java:744) [Server:server-two] 10:54:12,437 ERROR [stderr] (ServerService Thread Pool -- 76)      at org.jboss.threads.JBossThread.run(JBossThread.java:122)