Wowza Community

Wowza - Disconnect timeout ?

Hello,

On a videochat application; Some users are getting a “Client disconnected” Message.

Are there any settings that can be adjusted to increase the disconected time/threshold?

Best regards,

FlashCamChat

Yes, you change it in /conf/VHost.xml /Client /ClientTimeOut

The Value is in milliseconds.

Richard

Hello rrlanham,

I just checked… the current value of /ClientTimeOut is 90000

Would it make sense to up this value? if im correct its set at 90 seconds at current?

Any idea what Client/ IdleFrequency means?

Does making this value higher give performance boost, or give less “disconnect” messages?

Would i have any benefits from makeing higher the value of : HTTPTunnel/ KeepAliveTimeout ?

It is currently set at 2000. Would users receive less disconnected messages?

Best regards,

FlashCamChat

-Are you using tunnelling? RTMPT or RTMPTE ?

i dont know, the videochat application is bought i dont have the source code.

I will try playing the values that you mention, to discover what the effect are on the application.

Tnx.

Are you using tunnelling? RTMPT or RTMPTE ?

Here is some info on ClientTimeout and idlefrequency, and related info on IdleWorkers

ClientTimeout is the time in milliseconds the server will wait before shutting down a non-responding client connection. IdleFrequency is the time in milliseconds between idle events. For basic video on demand streaming a value of 250 milliseconds will provide the best reliability versus performance ratio. For live streaming a value of between 125 and 250 milliseconds is more desirable. It will increase the frequency at which media data is sent to the Flash client. If you adjust this value, be sure to also adjust the IdleWorkers/CheckFrequency to a value that is at least four times smaller.

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