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

req_buffers_max and req_history_max setting problems

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.11.0
    • None
    • 3
    • 9223372036854775807

    Description

      We hit LU-9372 OOM problems, and after applying

          LU-9372 ptlrpc: allow to limit number of service's rqbds

          we found two problems:

          

          1)Since 0 is a reserved value for @srv_nrqbds_max which

          means unlimited value, procfs write interface should support

          this value, otherwise, there is no way to change default behavior

          back.

       

          2)the check in ptlrpc_lprocfs_req_history_max_seq_write() was broken

          after this patch, the following check will always succeed if @srv_nrqbds_max

          is kept as default value 0:

          

          val > svc->srv_nrqbds_max/2

       

      Attachments

        Issue Links

          Activity

            [LU-10803] req_buffers_max and req_history_max setting problems

            Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/31665
            Subject: LU-10803 ptlrpc: fix req_buffers_max and req_history_max setting
            Project: fs/lustre-release
            Branch: b2_10
            Current Patch Set: 1
            Commit: 14b6ab137329484507ddcb651167ce9b3ab5284a

            gerrit Gerrit Updater added a comment - Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/31665 Subject: LU-10803 ptlrpc: fix req_buffers_max and req_history_max setting Project: fs/lustre-release Branch: b2_10 Current Patch Set: 1 Commit: 14b6ab137329484507ddcb651167ce9b3ab5284a
            pjones Peter Jones added a comment -

            Landed for 2.11

            pjones Peter Jones added a comment - Landed for 2.11

            Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/31622/
            Subject: LU-10803 ptlrpc: fix req_buffers_max and req_history_max setting
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: c11c61a82d668b54a41127a759b2e99cb077ac14

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/31622/ Subject: LU-10803 ptlrpc: fix req_buffers_max and req_history_max setting Project: fs/lustre-release Branch: master Current Patch Set: Commit: c11c61a82d668b54a41127a759b2e99cb077ac14

            Nice catch! And thanks for the patch.

             

            bfaccini Bruno Faccini (Inactive) added a comment - Nice catch! And thanks for the patch.  
            wangshilong Wang Shilong (Inactive) added a comment - Here is patch:   https://review.whamcloud.com/#/c/31622/

            People

              bfaccini Bruno Faccini (Inactive)
              wangshilong Wang Shilong (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: