264 — TooManyFilesOpen
configurationperformanceconnectivity
The server has reached the maximum number of logical sessions
What is happening?
TooManyLogicalSessions is returned when the server cannot create a new logical session because the session cache has reached its configured limit. Every driver connection with implicit or explicit sessions consumes a session slot. Session leaks, high connection churn, or many short-lived application instances can exhaust this limit.
Common causes
- Application not ending sessions properly, causing accumulation
- High connection pool churn creating many short-lived sessions
- Many microservice instances each maintaining their own connection pools
- Session timeout (logicalSessionTimeoutMinutes) set too high