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

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

    • Type: Icon: Task Task
    • Resolution: Done
    • WT2.6.0
    • Affects Version/s: None
    • Component/s: None

      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

            Assignee:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Reporter:
            alexander.gorrod@mongodb.com Alexander Gorrod
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: