Skip to main content
CVO
Participant
November 4, 2014
Question

Maximum connections allowed for AMS 5.0.1

  • November 4, 2014
  • 4 replies
  • 2752 views

How can I find out the maximum connection allowed for adobe media server 5.0.1 standard license?

    This topic has been closed for replies.

    4 replies

    Pedro Rabbi
    Participating Frequently
    November 13, 2014

    How can you serve 5000 users?

    How much internet bandwidth do you need?

    Conor Brennan
    Adobe Employee
    Adobe Employee
    November 17, 2014

    ...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 ?

    Pedro Rabbi
    Participating Frequently
    November 17, 2014

    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.

    CVO
    CVOAuthor
    Participant
    November 10, 2014

    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

    Adobe Employee
    November 10, 2014

    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-1022:35:3812904(w)2581154Invalid license key : 589312248199710-

    P.S I am assuming you are talking about rtmp connections and not rtmfp connections...

    CVO
    CVOAuthor
    Participant
    November 10, 2014

    The license is valid. I just don't have .lic file anywhere on the server.

    Adobe Employee
    November 7, 2014

    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.

    Conor Brennan
    Adobe Employee
    Adobe Employee
    November 5, 2014

    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

    CVO
    CVOAuthor
    Participant
    November 5, 2014

    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

    Conor Brennan
    Adobe Employee
    Adobe Employee
    November 5, 2014

    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>