Results 1 to 4 of 4

Thread: Very High Memory (RAM) Usage of WSE on Amazon EC2

  1. #1

    Default Very High Memory (RAM) Usage of WSE on Amazon EC2

    Hi,

    I'm using a pre-built Wowza Streaming Engine AMI (c3.large instance - 3.75GB RAM) on Amazon EC2. Only 8 channels or streams are configured on this server but the RAM utilization is already at 95%. It has no transcoding; distribution is thru Amazon Cloudfront; live broadcast and VOD playback are very rare as the videos on each channel/stream are played thru stream scheduler; each channel/stream has its own streamschedule.smil that resides on Amazon S3; videos also reside on Amazon S3. Since I'm worrying due to very high RAM utilization, I launched another instance (c3.2xlarge - 15GB RAM) and duplicated the configuration to this new server. However, the RAM utilization of this new server is also very high; it reaches 70%. What could be the possible cause/s of this very high RAM utilization?


    Thanks,

    Roger

  2. #2

    Default

    Hi,
    The memory usage is really misrepresented. Just like the Linux 'top' and 'free' commands, total memory usage is combined Physical Memory, Virtual memory and buffers / cache.
    If you look at the output of the 'top' command you'll see Res, Virt, and buffers/cache for each process. The one that indicates actual memory usage is Res. as that is physical memory used by a process.
    The virtual memory and buffers can be freed at any time for other application use. You'll find that the Res. figures from the 'top' command, for each Java process, are close to what you would actually expect.
    So the graphs show all memory usage, but do not represent what portions can be made available by the OS.

    Here is an article explaining this:
    Linux ate my ram

    Hope this helps.

    Salvadore

  3. #3

    Default

    Hi Salvadore,

    Thank you for the prompt reply and for the info about the memory usage.

    So are you saying that the Total Memory usage indicated in Wowza Engine Manager, as represented by the third bar on the Server Monitoring menu, is actually the combined Physical Memory, Virtual memory and buffers / cache?

    The Wowza engine manager says I'm currently using 10.88 GB, out of 15 GB RAM, or around 73%. While when I issued 'top' command using putty, it says the Res is 1.9g while Virt is 16.5g and the %Mem is 13.1. Is it right to say that I'm actually using just 1.9 GB of the physical memory out of the total 15 GB (or should I say 16.5GB)?


    Roger

  4. #4

    Default

    Yes, that would be correct.

    Salvadore

Similar Threads

  1. Very high Wowza heap and memory usage
    By arsenm in forum General Forum
    Replies: 1
    Last Post: 02-03-2015, 07:41 AM
  2. Replies: 3
    Last Post: 05-01-2014, 08:44 AM
  3. Very high CPU usage from Wowza start
    By pr1001 in forum Performance Tuning Discussion
    Replies: 6
    Last Post: 07-05-2012, 01:29 PM
  4. Concurrent live streaming limit - 2xE5645+16g ram vs 1xE3-1245+8g ram
    By braliao in forum Performance Tuning Discussion
    Replies: 5
    Last Post: 12-06-2011, 07:02 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •