3 Replies Latest reply on Apr 15, 2014 9:46 AM by jbertram

    'hornetq-buffer-timeout' thread: huge CPU time. Is it normal ?

    icemaker

      Hello,

       

      We are using HornetQ (HornetQ Server version 2.2.13.Final) with Jboss AS 7.1.1.Final.

       

      After about 4 hours our server runs extremely slow.

      When dumping all threads infos we noticed that each time we have the problem the thread named 'hornetq-buffer-timeout' has a huge CPU time. In this example 190 seconds :

       

      09:58:09,793 INFO  [com.real.aof.web.controller.MonitoringController] (http--0_0_0_0_0_0_0_0-8443-56) CPU Time of 152 : 190882ms (User time: 121462ms / System time: 69420ms)
      09:58:09,793 INFO  [com.real.aof.web.controller.MonitoringController] (http--0_0_0_0_0_0_0_0-8443-56) "hornetq-buffer-timeout" Id=152 WAITING on java.util.concurrent.Semaphore$NonfairSync@666fd386
        at sun.misc.Unsafe.park(Native Method)
        -  waiting on java.util.concurrent.Semaphore$NonfairSync@666fd386
        at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)
        at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:834)
        at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:994)
        at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1303)
        at java.util.concurrent.Semaphore.acquire(Semaphore.java:317)
        at org.hornetq.core.journal.impl.TimedBuffer$CheckTimer.run(TimedBuffer.java:438)
        at java.lang.Thread.run(Thread.java:744)
      

       

      What is exactly this thread doing ?

      Could it be normal to have such a big CPU time for this thread ?