-
1. Re: Maximum connections allowed for AMS 5.0.1
Conor Brennan Nov 5, 2014 7:24 AM (in response to CVO)There is no connection limit on AMS standard, your limits will be network or hardware limits
The developer edition of AMS does have a 10 connection max.
For scaling RTMP and HTTP delivery and adding redundancy to your setup please look into clustering servers and deploying edges [1], and http caching [2]
Let me know if this answers your question
Thanks
Conor
[1] Adobe Media Server 5.0.6 * Scaling the server
[2] Varnish sample code for HDS and HLS failover | Adobe Developer Connection
-
2. Re: Maximum connections allowed for AMS 5.0.1
CVO Nov 5, 2014 7:58 AM (in response to Conor Brennan)Thank you Conor for your answer. The error message we got from our AMS is about license thou. Here is the message:
[License.Limit.Exceeded]: (_defaultRoot_,_defaultVHost_): Max connections allowed exceeds license limit. Rejecting connection to: Vod/mp4:VTS.mp4
The Video is about 15 min long (99MB). We have about 5,000 internal users. The server is brand new (Window 2008 R2, 8GB RAM, 64-bit OS, 500 GB hard drive,).
Can you advice on what to do in order to allow our 5000 users to access this video?
Thanks
Cindy
-
3. Re: Maximum connections allowed for AMS 5.0.1
Conor Brennan Nov 5, 2014 8:51 AM (in response to CVO)in your VHost.xml have you set a MaxConnections limit ?
what is set under this block ?
<ResourceLimits> <!-- Max number of clients that can connect to this vhost when running as local. --> <!-- enforced by License key --> <MaxConnections>-1</MaxConnections> -
4. Re: Maximum connections allowed for AMS 5.0.1
CVO Nov 5, 2014 9:36 AM (in response to Conor Brennan)No I didn't. I thought -1 is the default for unlimited. Should I set it to 5000 which is the total users on our network?
Thanks
Cindy
-
5. Re: Maximum connections allowed for AMS 5.0.1
Conor Brennan Nov 6, 2014 12:26 AM (in response to CVO)No, -1 should be default and mean unlimited.
Can you please try the latest AMS release, 5.0.6, here [1] ?
[1] http://www.adobe.com/support/flashmediaserver/downloads_updaters.html
-
6. Re: Maximum connections allowed for AMS 5.0.1
hparmar Nov 7, 2014 2:32 AM (in response to CVO)That is a licensing limit.if you open your licensing file(.lic) you may see something like
<limit name="rtmp-connections">xxxxx</limit>
<limit name="rtmfp-connections">xxxxx</limit>
This may give you an idea about your licensing restrictions.
-
7. Re: Maximum connections allowed for AMS 5.0.1
CVO Nov 10, 2014 6:25 AM (in response to CVO)I don't have .lic file. In side the license folder, there are sif.bin files only. I manually entered in the license number. On Admin console-->License tab, this is the info listed: "Standard 5.0.1 r1076".
Can you help direct me to where I can find the license limit with my case?
Thank you.
Cindy
-
8. Re: Maximum connections allowed for AMS 5.0.1
hparmar Nov 10, 2014 9:12 AM (in response to CVO)Please ask adobe for the same...It looks like the license key you may be entering is not valid.
Please ask your vendor for the license key?
BTW, if your license key(as entered in ams.ini file) is invalid you should see something like this in your AMS logs(amsedge, admin or amsmaster).
2014-11-10 22:35:38 12904 (w)2581154 Invalid license key : 589312248199710 - P.S I am assuming you are talking about rtmp connections and not rtmfp connections...
-
9. Re: Maximum connections allowed for AMS 5.0.1
CVO Nov 10, 2014 11:55 AM (in response to hparmar)The license is valid. I just don't have .lic file anywhere on the server.
-
10. Re: Maximum connections allowed for AMS 5.0.1
mrpeterbr Nov 13, 2014 5:23 AM (in response to CVO)How can you serve 5000 users?
How much internet bandwidth do you need?
-
11. Re: Maximum connections allowed for AMS 5.0.1
Conor Brennan Nov 17, 2014 3:27 AM (in response to mrpeterbr)...that would depend on your application.
For a one-way video-on-demand system that streams recorded video at the user's request. Adobe Media Server serves only one stream to each user.
Here are the bandwidth calculations you would make:
- Calculating server bandwidth needs (BWs):
BWs = N × S
where N = number of simultaneous users (subscribers)
and S = average bitrate of encoded A/V content
For example to calculate the overall server bandwidth needed to stream video encoded at 500 Kbps to 1000 simultaneous users:
500 Mbps = 1000 × 500 Kbps
The above assumes that content is encoded at a constant bitrate. Most often, however, you will vary the bitrate of the content to suit the viewing audience. This affects your bandwidth needs at both the client and server level.
For example, suppose you estimated that half of the 1000 simultaneous users were going to connect via 350 Kbps DSL modem and the other half via 3 Mbps cable modem. Suppose further that while the video encoded at 500 Kbps was appropriate for the cable viewers, you wanted to encode a separate video at 150 Kbps for the DSL modem users.
In this case, the total bandwidth required of the system is lowered to 325 Mbps:
325 Mbps = (500 Kbps × 500) + (150 Kbps × 500)
This help ?
- Calculating server bandwidth needs (BWs):
-
12. Re: Maximum connections allowed for AMS 5.0.1
mrpeterbr Nov 17, 2014 5:23 AM (in response to Conor Brennan)Well, Connor.
I apreciate your help, but it doesnt answer my question at all.
The calculation BWs = N × S is the standard for any media server software. This is the scenario for a unicast application.
However, Adobe Media Server does multicast and peer-to-peer, then I want to know how much bandwidth is needed with the help of multicast.
Thank you.
-
13. Re: Maximum connections allowed for AMS 5.0.1
hparmar Nov 20, 2014 4:44 AM (in response to mrpeterbr)In case of multicast(i.e when you are using RTMFP and not rtmp), it is the router which does the multicast and hence there is no significant load on AMS server when doing multicast...
-
14. Re: Maximum connections allowed for AMS 5.0.1
mrpeterbr Nov 27, 2014 4:52 AM (in response to hparmar)Ok.
So, can I broadcast live from a 15Mbps upload internet when having help of multicast?
Every viewer will watch the same event at the same time, so everyone can help in P2P.
-
15. Re: Maximum connections allowed for AMS 5.0.1
hparmar Nov 27, 2014 5:42 AM (in response to mrpeterbr)P2P and multicast are two different things...Yes the load in multicast is at router.
-
16. Re: Maximum connections allowed for AMS 5.0.1
mrpeterbr Nov 27, 2014 5:47 AM (in response to hparmar)Well, I'm new in this thing.
Could you help me with the difference between these two?
All I want to know is if can I live broadcast to thousands of people through AMS without use neither a CDN nor a service like Livestream.
-
18. Re: Maximum connections allowed for AMS 5.0.1
hparmar Nov 27, 2014 6:00 AM (in response to mrpeterbr)Also see Rtmfp API
and at the bottom of it are links to video presentations on RTMFP.
-
19. Re: Maximum connections allowed for AMS 5.0.1
mrpeterbr Nov 27, 2014 6:12 AM (in response to hparmar)Well, I had already read the RTMFP FAQ, but read again.
Read the Cirrus page, too, and it didn't added much new information.
Will now see the video Future of Communication with RTMFP by Matthew Kaufman in the last link you provided.
hparmar
Do you use AMS? To deliver live video?


