ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Artem Baranchuk (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-12741) AMS Collector process takes way more Virtual memory than Xmx setting
Date Wed, 12 Aug 2015 13:09:45 GMT
Artem Baranchuk created AMBARI-12741:
----------------------------------------

             Summary: AMS Collector process takes way more Virtual memory than Xmx setting
                 Key: AMBARI-12741
                 URL: https://issues.apache.org/jira/browse/AMBARI-12741
             Project: Ambari
          Issue Type: Task
          Components: ambari-metrics
    Affects Versions: 2.1.2
            Reporter: Artem Baranchuk
            Assignee: Artem Baranchuk
            Priority: Critical
             Fix For: 2.1.2


Ambari Metrics Collector grabs almost whole free memory for VSZ just after start.
{noformat}
 free -g

                total       used       free     shared    buffers     cached
Mem:            29         14         15          0          0          4
{noformat}
As you can see free mem is 15GB
AMS Collector process:
{noformat}
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
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message