Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.13.0
    • Lustre 2.12.0, Lustre 2.10.6
    • 3
    • 9223372036854775807

    Description

      After creating a big HSM request candidate list, coordinator thread
      allocates an update list which is 16 bytes times the number of
      candidates files. In some cases, they could be more than 300,000
      candidate files and so several MB will be needed.

      Memory allocation failure was skipping candidate list freeing which led to memory leak.

       

      This problem was detected under Lustre 2.10.5. Since, a patch landed that makes this bug  more difficult to trigger, but the code is still present.

      I will submit a fix for it.

      Attachments

        Activity

          [LU-11892] Memory leak in MDT Coordinator
          pjones Peter Jones added a comment - - edited

          Landed for 2.13

          pjones Peter Jones added a comment - - edited Landed for 2.13

          Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34123/
          Subject: LU-11892 hsm: fix memory leak when scheduling HSM requests
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: fc13209d2a15f68c4b96288b3a68d45826abc64d

          gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34123/ Subject: LU-11892 hsm: fix memory leak when scheduling HSM requests Project: fs/lustre-release Branch: master Current Patch Set: Commit: fc13209d2a15f68c4b96288b3a68d45826abc64d

          Aurelien Degremont (degremoa@amazon.com) uploaded a new patch: https://review.whamcloud.com/34123
          Subject: LU-11892 hsm: fix memory leak when scheduling HSM requests
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: d01e04c00b080799001e10b577be2fb15cd0802c

          gerrit Gerrit Updater added a comment - Aurelien Degremont (degremoa@amazon.com) uploaded a new patch: https://review.whamcloud.com/34123 Subject: LU-11892 hsm: fix memory leak when scheduling HSM requests Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: d01e04c00b080799001e10b577be2fb15cd0802c

          People

            degremoa Aurelien Degremont (Inactive)
            degremoa Aurelien Degremont (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: