Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-5482

ContainerMetric Lead to memory leaks

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 2.7.1
    • None
    • None
    • None

    Description

      In our cluster, I often find NodeManager OOM, I dump the heap file and found ContainerMetric takes up a lot of memory

      export YARN_NODEMANAGER_OPTS="-Xmx2g -Xms2g -Xmn1g -XX:PermSize=128M -XX:MaxPermSize=128M -XX:+DisableExplicitGC -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/data1/yarn-logs/nm_dump.log -Dcom.sun.management.jmxremote -Xloggc:/data1/yarn-logs/nm_gc.log -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCApplicationStoppedTime -XX:+PrintGCApplicationConcurrentTime -XX:+PrintTenuringDistribution -XX:ErrorFile=/data1/yarn-logs/nm_err_pid"
      

      Attachments

        1. oom1.png
          65 kB
          Wally Tang
        2. oom2.png
          55 kB
          Wally Tang

        Issue Links

          Activity

            People

              tangshangwen Wally Tang
              tangshangwen Wally Tang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: