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
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
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.
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?
Please refer to ticket
#91708