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

req_buffers_max and req_history_max setting problems

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Lustre 2.11.0
    • Labels:
    • Severity:
      3
    • Rank (Obsolete):
      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

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: