Sunday, March 3, 2013

Connection limiter in 0.9.9

Since v0.9.9 it's now possible to limit the number of simultaneous RTMP connections to nginx-rtmp. The new directive is max_connections. By default there's no limit on connection number.

max_connections 200;

Connection number is stored in shared memory so it affects all workers. Auto-push connections as well as relay connections (push/pull) are also limited by this engine.

No comments:

Post a Comment