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

Change the default WiredTiger session_max from 20k to 33k

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.1.10
    • None
    • Internal Code
    • Fully Compatible
    • ALL
    • Storage NYC 2019-04-08

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: