Wowza Community

What happens to servers reaching full capacity?

Hi, can you tell me what happens when live servers reach or get close to their full capacity… are they likely to fail or do they just start refusing new connections?

In either case is there a way to detect they are reaching capacity before it happens, or should we just limit the connections?

Anthony

Your best bet is to limit the number of connections to the server. You can do this in conf/VHosts.xml using the ConnectionLimit setting. Zero means unlimited.

Charlie

No, the server will not stop accepting connections. There are just too many factors to monitor to determine when to stop. You can certainly build something that fits your application and heuristics outside of Wowza Pro to determine when to startup another instance. But this is not functionality that we supply as part of our server.

Charlie

Ok, the only problem with that is we don’t always know what bitrate customers will publish at so the limit can vary. I was hoping we could use that as our last option.

Will the server stop accepting connections automatically if it cant handle them?

If so we can easily count the number of clients trying to connect and compare with those connected and start up additional servers as needed.

Actually… looking at your performance stats it looks like were going to run out of network bandwidth before we get close to server capacity, Im guessing we can just rely on the client connection timing out.