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

Change the default WiredTiger session_max from 20k to 33k

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.10
    • Affects Version/s: None
    • Component/s: Internal Code
    • Fully Compatible
    • ALL
    • Storage NYC 2019-04-08

      The current default wired tiger session_max limit is 20k. Unfortunately, this can often put session creation as the first terminal failure when adding many live connections.

      Since we currently use a thread per connection, and the vast majority of users don't alter pid_max, pushing the limit up to 33k is likely to make thread exhaustion the first limit users hit, instead of the wt session limit. Thread exhaustion has slightly nicer semantics in that failure to create threads for ingress connection handling is non-terminal.

            Assignee:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Reporter:
            mira.carey@mongodb.com Mira Carey
            Votes:
            1 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: