Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-6852

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 5.10.0
    • Fix Version/s: None
    • Component/s: Broker
    • Labels:
      None

      Description

      ActiveMQ Broker log print error
      2017-10-28 11:00:51,925 | WARN | Cannot create async transport stopper thread. This exception is ignored. Not waiting for stop to complete | org.apache.activemq.broker.TransportConnection | ActiveMQ Transport: tcp:///192.168.22.29:49488@61616
      java.lang.OutOfMemoryError: unable to create new native thread
      at java.lang.Thread.start0(Native Method)[:1.7.0_131]
      at java.lang.Thread.start(Thread.java:714)[:1.7.0_131]
      at org.apache.activemq.thread.TaskRunnerFactory.doExecuteNewThread(TaskRunnerFactory.java:164)[activemq-client-5.10.0.jar:5.10.0]
      at org.apache.activemq.thread.TaskRunnerFactory.execute(TaskRunnerFactory.java:154)[activemq-client-5.10.0.jar:5.10.0]
      at org.apache.activemq.thread.TaskRunnerFactory.execute(TaskRunnerFactory.java:145)[activemq-client-5.10.0.jar:5.10.0]
      at org.apache.activemq.broker.TransportConnection.stopAsync(TransportConnection.java:1063)[activemq-broker-5.10.0.jar:5.10.0]
      at org.apache.activemq.broker.jmx.ManagedTransportConnection.stopAsync(ManagedTransportConnection.java:74)[activemq-broker-5.10.0.jar:5.10.0]
      at org.apache.activemq.broker.TransportConnection.processShutdown(TransportConnection.java:354)[activemq-broker-5.10.0.jar:5.10.0]
      at org.apache.activemq.command.ShutdownInfo.visit(ShutdownInfo.java:35)[activemq-client-5.10.0.jar:5.10.0]
      at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:294)[activemq-broker-5.10.0.jar:5.10.0]
      at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:148)[activemq-broker-5.10.0.jar:5.10.0]
      at org.apache.activemq.transport.MutexTransport.onCommand(MutexTransport.java:50)[activemq-client-5.10.0.jar:5.10.0]
      at org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:113)[activemq-client-5.10.0.jar:5.10.0]
      at org.apache.activemq.transport.AbstractInactivityMonitor.onCommand(AbstractInactivityMonitor.java:270)[activemq-client-5.10.0.jar:5.10.0]
      at org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:83)[activemq-client-5.10.0.jar:5.10.0]
      at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:214)[activemq-client-5.10.0.jar:5.10.0]
      at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:196)[activemq-client-5.10.0.jar:5.10.0]
      at java.lang.Thread.run(Thread.java:745)[:1.7.0_131]

      in jstack, over 900 threads in BLOCKED status
      Thread 9330: (state = BLOCKED)

      • java.lang.Object.wait(long) @bci=0 (Compiled frame; information may be imprecise)
      • java.lang.Object.wait() @bci=2, line=503 (Compiled frame)
      • org.apache.activemq.thread.DedicatedTaskRunner.runTask() @bci=148, line=119 (Compiled frame)
      • org.apache.activemq.thread.DedicatedTaskRunner$1.run() @bci=4, line=42 (Compiled frame)

        Attachments

        1. activemq.log.3
          1.00 MB
          jason
        2. jstack2.log
          412 kB
          jason

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jason sun jason
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: