Wowza Community

All Handler Threads In Use

I’ve discovered that all handler threads can be consumed if the number of startup streams matches or exceeds the number of handler threads, and all of the streams become unavailable. If we have a handler thread limit of 240 and 250 streams which should be running, but go unreachable, the handler threads are consumed constantly by mediacasters trying to reconnect. Our servers are already tuned to the recommended performance settings with regards to processor count, handler, and transport threads, as specified by the tuning documents. This also occurs in the latest version of Wowza Streaming Engine. Is there a way to make the mediacaster reconnects play nice?

Hi,

You can increase the handler threads allotted to MediaCasters (under the Virtual Host Processors of the Performance Tuning menu) so that it is higher than the number of streams. You can also have custom logic in place that removes the MediaCaster connections that are unhealthy.

Michelle