Results 1 to 2 of 2

Thread: High CPU usage in recording thread

  1. #1

    Default High CPU usage in recording thread

    Hi forum

    I have a Wowza instance which is set up as a liverepeater-origin-record. It is being used as an origin server for live RTSP streams, with various edge servers connecting to it.

    The problem is that there is regular but inconsistent high CPU usage which is periodically (at least daily) maxing out the instance and requiring a Wowza restart.

    I have identified the thread using JConsole and the stack trace is below. Note that the high CPU usage does not seem to correspond to actual usage. At the present time, the server is completely idle with 0 source streams and no active recordings, but is still exhibiting 100% CPU.

    Thread stack trace: Method) Source) Source)
    com.wowza.wms.mediareader.h264.util.QTUtils.readAtomHeader(Unknown Source)
    com.wowza.wms.mediawriter.h264.util.QTWriterUtils.loadForAppendParseTRAK(Unknown Source)
    com.wowza.wms.mediawriter.h264.util.QTWriterUtils.flushForAppend(Unknown Source)
    com.wowza.wms.mediawriter.h264.util.QTWriterUtils.flush(Unknown Source)
    com.wowza.wms.mediawriter.h264.MediaWriterH264.writePacketsInternal(Unknown Source)
    com.wowza.wms.mediawriter.h264.MediaWriterH264.writePackets(Unknown Source) Source)
    java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    java.util.concurrent.ThreadPoolExecutor$ Source) Source)
    Please can you suggest what I can do to fix this?

  2. #2
    Join Date
    Dec 2007


    Do you see an outOfMemory error? Try setting up JMX to get Java heap dump in when that happens

    And you can get a Java stack trace when in that state

    Send these to Include /conf and most recent access and error log files.

    Include a link to this thread for reference.


Similar Threads

  1. High Cpu usage AMD Opteron Dual CPU Server.
    By djcenk in forum Performance Tuning Discussion
    Replies: 1
    Last Post: 11-26-2013, 08:11 AM
  2. High CPU Usage every now and then
    By stardust2678 in forum General Forum
    Replies: 1
    Last Post: 07-09-2013, 05:06 AM
  3. Too high CPU usage after subscription PER MONTH
    By papiandy in forum General Forum
    Replies: 11
    Last Post: 05-22-2013, 06:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts