Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-3497

Improve logging message when hitting the WT session limits

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

      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@mongodb.com Keith Bostic (Inactive)
            Reporter:
            dmitry.agranat@mongodb.com Dmitry Agranat
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: