0 Replies Latest reply on Sep 8, 2015 3:57 AM by Ben Gao

    jboss hornetq unable to create new na

    Ben Gao Novice

      When I not set




              has no "unable to create new native thread" ERROR



           I set  <thread-pool-max-size>50000</thread-pool-max-size>  like :









      they has ERROR:


      WARN  [org.hornetq.core.server] (Thread-0 (HornetQ-Asynchronous-Persistent-Writes1189902350-1725551057)) HQ222150: IO Error completing the transaction, code = 0, message = It wasn't possible to complete IO operation - unable to create new native thread

      2015-09-08 14:14:58,644 ERROR [stderr] (hornetq-expiry-reaper-thread) Exception in thread "hornetq-expiry-reaper-thread" java.lang.OutOfMemoryError: unable to create new native thread


      I want to know,default  thread-pool-max-size is -1.no limit.why not to show this error.When set a large pool will see ERROR