Updating the system.sessions collection depletes wired tiger's write tickets

MongoDB Version: 3.6.17
Storage Engine: WiredTiger

Periodically, the update to the system.sessions collection spikes, when the wired tiger’s write ticket is exhausted
This regularly slows down the service because of this.

I’m guessing it’s probably due to the 5 minute session refresh

Is there a way to avoid the write ticket exhaustion from updating to system.sessions?

1 Like


I’m having the same type of problem, MongoDB version is 4.0.20