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

Improve logging message when hitting the WT session limits

    Details

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

      Description

      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*
      

        Attachments

          Activity

            People

            • Assignee:
              keith.bostic Keith Bostic
              Reporter:
              dmitry.agranat Dmitry Agranat
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: