Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-40902

Is there a way to make a persistent change to internalQueryExecMaxBlockingSortBytes

    • Type: Icon: Question Question
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.0.16
    • Component/s: Index Maintenance
    • None

      Hey Guys

       

      Is there a way to make a persistent change to internalQueryExecMaxBlockingSortBytes that survives mongod restarts?

      i.e.

      you can run:

      db.adminCommand({"setParameter":1,"internalQueryExecMaxBlockingSortBytes":134217728})

      which sets the query sort memory limit from 32mb to 128mb.  However, when you restart mongod, the limit goes back to 32mb.  Is there a change I can make to /etc/mongod.conf or something that can automatically set this to the higher limit at server startup?

       

      Thanks

       

            Assignee:
            daniel.hatcher@mongodb.com Danny Hatcher (Inactive)
            Reporter:
            michael.qiu@wdtl.com asdf01
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: