Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-18390

Collect memory leak debug log in /tmp/debug correctly

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • Lustre 2.17.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      In recent memory leak issues, I found the following messages:

      LustreError: 277252:0:(class_obd.c:900:obdclass_exit()) obd_memory max: 6549393, leaked: 20
      mv: cannot stat '/tmp/debug': No such file or directory
      Memory leaks detected
      

      The debug log /tmp/debug doesn't exist because $DEBUG_RMMOD in script lustre_rmmod is not used properly.

      I will push a patch to fix it.

      Attachments

        Activity

          People

            emoly.liu Emoly Liu
            emoly.liu Emoly Liu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: