Improve logging message when hitting the WT session limits

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor - P4
    • 3.5.12, WT3.0.0
    • Affects Version/s: None
    • Component/s: None
    • Storage 2017-08-21
    • None

      Currently, when we hit the WT session limit, we log the following message:

      WT_CONNECTION.open_session: only configured to support 20020 sessions (including 20 additional internal sessions): Cannot allocate memory
      

      However, this is misleading since we can hit the WT session limits when there is plenty of available memory.

      We should log instead:

      WT_CONNECTION.open_session: only configured to support 20020 sessions (including 20 additional internal sessions): Cannot allocate *resource*
      

            Assignee:
            Keith Bostic (Inactive)
            Reporter:
            Dmitry Agranat
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: