Results 1 to 4 of 4

Thread: All threads getting locked in VHost lock

  1. #1
    Join Date
    Mar 2011
    Posts
    18

    Default All threads getting locked in VHost lock

    Hi,

    My systems is going down because all thread are waiting on the lock of the VHost object.

    I am using jstack to dump the threads. I can not find any thread holding the holds.

    Do you have any suggestion?

    Aloha,

    Rafael Sobral

  2. #2
    Join Date
    May 2013
    Posts
    681

    Default

    It may be of use to grab a thread dump and zip up your conf/ and logs/ directories and send them to support@wowza.com for further review and analysis.

  3. #3
    Join Date
    Mar 2011
    Posts
    18

    Default

    I am sending. But here is a list of Threads waiting it.

    ServerHandler…
    at com.wowza.wms.vhost.VHost.getClient(VHost.java:1443)
    at com.wowza.wms.vhost.VHost.getClient(VHost.java:1502)
    at com.wowza.wms.request.RTMPRequestAdapter.service(RTMPRequestAdapter.java:175)
    at com.wowza.wms.server.ServerHandler.a(ServerHandler.java:653)
    at com.wowza.wms.server.ServerHandler.a(ServerHandler.java:401)
    at com.wowza.wms.server.ServerHandler.sessionIdle(ServerHandler.java:537)
    at com.wowza.wms.server.ServerHandlerThreadedSession.run(ServerHandlerThreadedSession.java:111)

    StatsManager
    at com.wowza.wms.vhost.VHost.isApplicationLoaded(VHost.java:1969)
    at com.wowza.wms.stats.StatsManager.run(Unknown Source)

    MyThread
    at com.wowza.wms.vhost.VHost.getApplication(VHost.java:1998)

    serverWatchdog
    at com.wowza.wms.vhost.VHost.updateIOPerformance(VHost.java:2379)
    at com.wowza.wms.server.Server.updateIOPerformance(Server.java:2861)
    at com.wowza.wms.server.Server.doWatchdog(Server.java:2806)
    at com.wowza.wms.server.ServerWatchdog.run(ServerWatchdog.java:40)

    Most of BLOCKED threads are on logging.

    BLOCKED
    at org.apache.log4j.Category.forcedLog(Category.java:391)
    at org.apache.log4j.Category.log(Category.java:856)
    at org.apache.commons.logging.impl.Log4JLogger.info(Log4JLogger.java:199)


    Is the log Thread-safe?

  4. #4
    Join Date
    May 2013
    Posts
    681

    Default

    Please refer to ticket #91708

Similar Threads

  1. Implement nDVR Timeshifting on stream locked origin/edge
    By f.hernandez.b in forum AddOn: Wowza nDVR
    Replies: 1
    Last Post: 01-30-2014, 05:36 AM
  2. locked thread killing Wowza app
    By pkenway in forum Live Streaming and Encoder Discussion
    Replies: 1
    Last Post: 03-25-2013, 02:03 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
  •