Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-12741

AMS Collector process takes way more Virtual memory than Xmx setting

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.1.2
    • 2.1.2
    • ambari-metrics
    • None

    Description

      Ambari Metrics Collector grabs almost whole free memory for VSZ just after start.

       free -g
      
                      total       used       free     shared    buffers     cached
      Mem:            29         14         15          0          0          4
      

      As you can see free mem is 15GB
      AMS Collector process:

      ps -u -p 15921 | awk '{print $0}'
      
      USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
      ams      25954  4.9  7.0 13782216 2167184 ?    Sl   14:00   1:26 /usr/jdk64/jdk1.8.0_40/bin/java -Djava.library.path=/usr/lib/ams-hbase/lib/hadoop-native -Xmx512m  -cp /usr/lib/ambari-metrics-collector/*:/etc/ambari-metrics-collector/conf -Djava.net.preferIPv4Stack=true -Dams.log.dir=/var/log/ambari-metrics-collector -Dproc_timelineserver org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer
      

      Attachments

        Issue Links

          Activity

            People

              abaranchuk Artem Stepanovich Baranchuk
              abaranchuk Artem Stepanovich Baranchuk
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: