
ERROR Case
pymongo.errors.OperationFailure: cannot add session into the cache, full error: {‘operationTime’: Timestamp(1714353661, 2), ‘ok’: 0.0, ‘errmsg’: ‘cannot add session into the cache’, ‘code’: 261, ‘codeName’: ‘TooManyLogicalSessions’, ‘$clusterTime’: {‘clusterTime’: Timestamp(1714353661, 2), ‘signature’: {‘hash’: b’\x81\xd5\x8f0[\x82\xcb{\xd8]\xd4\xba\x97\xc4\x0f+R \x88"’, ‘keyId’: 7317447343970713660}}}
참고자료
maxsession 관련 정보 :
서버세션 또는 논리적세션 명령 :
🚀 확인 Commmand
### 로지컬 세션 확인. (PRIMARY)
# mongo
mongo
use admin
db.auth({user:'', pwd:''})
db.serverStatus().logicalSessionRecordCache'📊DB > MongoDB' 카테고리의 다른 글
| MongoDB: Replica Set Secondary Node 동기화 시간 확인하는 방법 (1) | 2026.03.20 |
|---|---|
| MongoDB: DB 다운 시 재가동 방법 (0) | 2026.03.20 |
| MongoDB: wiredTiger engine 파일 찾는 법 (0) | 2026.03.20 |
| MongoDB: 레플리카 셋 구축 가이드 (0) | 2026.03.18 |
| MongoDB: Logical Session vs 일반 Session (0) | 2026.03.18 |