Results 1 to 5 of 5

Thread: What does IdleWorkers in Vhosts.xml do?

  1. #1

    Default What does IdleWorkers in Vhosts.xml do?

    I'm continuing to tweak our Wowza config to get the best performance we can. Got the Garbage Collector all squared away, but once in a while we still see a little blip or 2 frame pause in the video. That seems to correlate to a slew of 'sessionClosed' messages in the Wowza console.

    In trying to correct for this I tweaked the IdleWorkers section in the vhosts.xml config thinking maybe that had something to do with scanning the source or client every X often and saying 'are we good, or are you done now?' But I wasn't sure that was the case. I have updated it to the following:

    <IdleWorkers>
    <WorkerCount>8</WorkerCount>
    <CheckFrequency>100</CheckFrequency>
    <MinimumWaitTime>50</MinimumWaitTime>
    </IdleWorkers>

    It appears as though this change is helping. I'm just wondering why (assuming it really is working). Is a check frequency of 100 checking every 100 ms, 100 seconds, or other? What is the MinimumWaitTime for? Basically, wondering exactly what this part of the config is doing for me so I can better understand how to fine tune Wowza.

    Is there a document that covers each of the options within VHosts.xml by chance?

    Thanks,

    Benjamin

  2. #2
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    Benjamin,

    This is from the configuration reference

    IdleWorkers/[WorkerCount, CheckFrequency]
    IdleWorkers/WorkerCount controls the number of threads being used to generate idle events. IdleWorkers/CheckFrequency is the time in milliseconds between checking to see if a client has been idle for Client/IdleFrequency. The IdleWorkers/CheckFrequency should be at least four times smaller than the Client/IdleFrequency. See the online General Tuning Guide for recommended values based on server resources.
    Richard

  3. #3

    Default

    AH The configuration reference!!! No idea how I missed that, but *exactly* what I was looking for. Thank you Richard!

  4. #4
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    You're welcome, Ben. Enjoy

    Richard

  5. #5

    Default

    But the configuration guide never told anything about the meaning of "MinimumWaitTime".

    Robin

Similar Threads

  1. VHosts.xml restart required?
    By shueardm in forum Wowza Media Server 3 for Amazon EC2 Discussion
    Replies: 19
    Last Post: 02-08-2014, 07:56 PM
  2. Wowza server only finding first vhost in VHosts.xml
    By nolageek in forum Server Administration Discussion
    Replies: 1
    Last Post: 05-28-2013, 03:28 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
  •