Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-90867

Limit the number of sessions in MongoDB's cache of WiredTiger sessions

    • RSS Sydney
    • RSS Sydney - 2024-06-25, RSS Sydney - 2024-07-09, RSS Sydney - 2024-07-23, Hoity-Toity - 2024-12-10

      We maintain an unbounded cache of WiredTiger sessions. And each of these sessions has a cursor cache.

      Because we asynchronously release sessions into the cache without a ticket, we can accumulate more sessions than the execution control system can limit.

      The current limit is just a 5 minute idle timeout.

      The size of these idle sessions can affect WiredTiger performance in some algorithms. We should impose a limit on the number of cached sessions and also expose metrics about the size of these caches.

      There is some discussion here in SERVER-84449.

            Assignee:
            nic.hollingum@mongodb.com Nic Hollingum
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated: