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

lnetctl peer show hangs for ~2600 clients, ioctl getting E2BIG

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.14.0, Lustre 2.12.5
    • Lustre 2.12.0
    • None
    • x86 servers, 2.12 no patches, RHEL 7.6
    • 3
    • 9223372036854775807

    Description

      command `lnetctl peer show` appears to hang, strace shows looping on:

      ioctl(3, _IOC(_IOC_READ|_IOC_WRITE, 0x65, 0x64, 0xb8), 0x7fffffffccf0) = -1 E2BIG (Argument list too long)
      

      There are 2605 lines in /sys/kernel/debug/lnet/peers.

      Attachments

        Issue Links

          Activity

            [LU-12198] lnetctl peer show hangs for ~2600 clients, ioctl getting E2BIG

            Is this with 2.14?  I suspect we are reaching the limits of using ioctls.

            simmonsja James A Simmons added a comment - Is this with 2.14?  I suspect we are reaching the limits of using ioctls.
            joe.grund Joe Grund added a comment -

            I'm seeing something similar to this while calling both

            lnetctl export

            and

            lnetctl peer show

            These commands hang and running strace shows the above.

            joe.grund Joe Grund added a comment - I'm seeing something similar to this while calling both lnetctl export and lnetctl peer show These commands hang and running strace shows the above.

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37720/
            Subject: LU-12198 libcfs: always copy ioctl header back to user
            Project: fs/lustre-release
            Branch: b2_12
            Current Patch Set:
            Commit: a3c687a943233a7c5ae7e3fb906d1913b063c95c

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37720/ Subject: LU-12198 libcfs: always copy ioctl header back to user Project: fs/lustre-release Branch: b2_12 Current Patch Set: Commit: a3c687a943233a7c5ae7e3fb906d1913b063c95c

            It would be nice if this could land in the next 2.12.x.

            mhanafi Mahmoud Hanafi added a comment - It would be nice if this could land in the next 2.12.x.

            Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/37720
            Subject: LU-12198 libcfs: always copy ioctl header back to user
            Project: fs/lustre-release
            Branch: b2_12
            Current Patch Set: 1
            Commit: 321a757880445089a48d26acfe0554853750ca3f

            gerrit Gerrit Updater added a comment - Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/37720 Subject: LU-12198 libcfs: always copy ioctl header back to user Project: fs/lustre-release Branch: b2_12 Current Patch Set: 1 Commit: 321a757880445089a48d26acfe0554853750ca3f
            pjones Peter Jones added a comment -

            Landed for 2.14

            pjones Peter Jones added a comment - Landed for 2.14

            People

              martinetd Dominique Martinet (Inactive)
              ruth.klundt@gmail.com Ruth Klundt (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: