Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: Unusual Total Memory Usage

  1. #1

    Default Unusual Total Memory Usage

    I have been running with Wowza 4.0 on 3 servers, all are identical hardware and in configuration except for one. It uses one HTTP Origin stream and also has a locally hosted VOD unlike the others. It has been using an unusual amount of RAM it seems to me, but 4.0 is a new setup so not sure if I am worried over nothing. I don't have many people streaming (18 total) and yet have 90% on the graph under "Total Memory". It has been tuned to Production as instructed.

  2. #2
    Join Date
    Sep 2011
    Posts
    1,931

    Default

    Hi,
    This issue is currently being handled in a support ticket (81740).
    More information will be posted when this issue is resolved.

    Jason

  3. #3

    Default

    Looks like the issue was a .jar file in the ./lib directory to provide statistics. It worked great with Wowza 3 but needs to be updated for 4. I had thought that might be it and removed the ./application directory that loaded it but the problem didn't go away till the file was removed. Memory is normal again and comparable with the other servers.
    Alan

  4. #4
    Join Date
    Sep 2011
    Posts
    1,931

    Default

    Hi Alan,
    Please can you provide more information with regards to this issue and how it was resolved, as it will benefit other users.
    Wowza 3 did not have a statistics module. The .Jar file which records statistics, was this a custom Module in your configuration?

    As much detail as possible will be greatly appreciated.

    Thanks
    Jason

  5. #5
    Join Date
    Mar 2014
    Posts
    11

    Default

    Hi, I have the same issue but in this case i have no user connected. I have an amazon ec2 server.



    How did you solve it?

    Thank you so much,
    Jose

  6. #6
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    Jose,

    Is this one of the pre-built Wowza AMIs? Which one?

    Richard

  7. #7
    Join Date
    Mar 2014
    Posts
    11

    Default

    Quote Originally Posted by rrlanham View Post
    Jose,

    Is this one of the pre-built Wowza AMIs? Which one?

    Richard
    Yes, it is c1.xlarge instance.

    Thank you,
    Jose

  8. #8
    Join Date
    Sep 2011
    Posts
    1,931

    Default

    Hi,
    Please note that Total Memory is referring to the memory of the entire server, the memory Wowza is using is the Wowza Heap which is low.
    You could try getting a process output and see what processes are running on the server.

    What OS are you using on the server?
    Under Linux if you access a file then it will store some/all of it in memory if it is available to do so, only when memory is needed it removes it.

    For example

    :       total       used       free     shared    buffers     cached
    Mem: 10225612    5122476    5103136          0     157464    4525664
    -/+ buffers/cache:     439348    9786264
    Swap:      2097148      66828    2030320
    You can see here that 4525664 is used as cached space.
    As this is being used Wowza will show this in the Total Memory as used.

    Jason

  9. #9
    Join Date
    Mar 2014
    Posts
    11

    Default

    I'm under Linux and this is my memory:

                 total       used       free     shared    buffers     cached
    Mem:       7118660    6298220     820440          0     188532    4436340
    -/+ buffers/cache:    1673348    5445312
    Swap:            0          0          0
    So most memory is cached memory, and when memory is needed Linux removes it, right?

    Thank you so much,
    Jose

  10. #10

    Default

    I have the same issue on newly installed 4.0.4.
    As a result Engine Manager is very slow and on every second or third request returns error like this: Sorry there was an error getting to (server/vhostperformance/ports/view.htm)::404

    All memory is used by Java:
    >free -m
    total used free shared buffers cached
    Mem: 16040 15960 80 0 94 14383
    -/+ buffers/cache: 1482 14558
    Swap: 14015 0 14015

    >ps aux
    root 4162 0.0 0.0 65948 1232 ? S Jun25 0:00 /bin/bash /usr/bin/WowzaStreamingEngined /usr/local/WowzaStreamingEngine/bin/setenv.sh /var/run/WowzaStreamingEngine.pid start

    root 4613 0.0 0.0 65948 1232 ? S Jun25 0:00 /bin/bash /usr/bin/WowzaStreamingEngineManagerd /usr/local/WowzaStreamingEngine/manager/bin/setmgrenv.sh /var/run/WowzaStreamingEngineManager.pid start

    root 4620 0.1 2.3 4918548 377932 ? Sl Jun25 0:49 java -Dcom.wowza.wms.ConfigURL="" -Dcom.wowza.wms.ConfigHome=/usr/local/WowzaStreamingEngine/manager -Djava.io.tmpdir=/usr/local/WowzaStreamingEngine/manager/temp -Dlog4j.configuration=file:///usr/local/WowzaStreamingEngine/manager/conf/winstone.properties -Djava.net.preferIPv4Stack=true -jar /usr/local/WowzaStreamingEngine/manager/lib/wms-winstone-1.0.5-boot.jar --prefix=/enginemanager --defaultWebApp=/enginemanager --tempDirectory=/usr/local/WowzaStreamingEngine/manager/temp --webroot=/usr/local/WowzaStreamingEngine/manager/temp --warfile=/usr/local/WowzaStreamingEngine/manager/lib/WMSManager.war --httpPort=8088 --ajp13Port=-1 --directoryListings=false > /dev/null

    root 5628 13.8 5.2 11912548 862332 ? Sl 09:19 2:48 java -Xmx10000M -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:NewSize=512m -server -Djava.net.preferIPv4Stack=true -Dcom.sun.management.jmxremote=true -Dcom.wowza.wms.runmode=service -Dcom.wowza.wms.native.base=linux -Dcom.wowza.wms.AppHome=/usr/local/WowzaStreamingEngine -Dcom.wowza.wms.ConfigURL= -Dcom.wowza.wms.ConfigHome=/usr/local/WowzaStreamingEngine -cp /usr/local/WowzaStreamingEngine/bin/wms-bootstrap.jar com.wowza.wms.bootstrap.Bootstrap start
    Last edited by norberts.ositis@telia.lv; 06-25-2014 at 11:55 PM.

Page 1 of 2 12 LastLast

Similar Threads

  1. Memory usage is nearly 100%!
    By nitsuj102284 in forum Performance and Tuning
    Replies: 9
    Last Post: 07-17-2014, 01:10 PM
  2. CPU Usage X Memory
    By rminari in forum Wowza Media Server 3 for Amazon EC2 Discussion
    Replies: 1
    Last Post: 05-19-2012, 01:04 PM

Posting Permissions

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