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

Don't close handles until a threshold of in-use handles has been reached

    Details

    • Type: Task
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.6.0
    • Labels:

      Description

      At the moment WiredTiger has a sweep server that automatically closes file handles if they have been idle for over 30 seconds. Idle means that there are no cursors open on the file.

      That can lead to undesirable behavior - we may flush a file from cache, even when the cache isn't full.

      It makes sense to only consider closing handles once we are using a certain number of file handles. A reasonable start might be 200 file handles.

      This is related to MongoDB SERVER-17907

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                keith.bostic Keith Bostic
                Reporter:
                alexander.gorrod Alexander Gorrod
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: