MongoDB: TooManyLogicalSessions 에러

2026. 3. 20. 10:34·📊DB/MongoDB

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 관련 정보 :

Maxsession 관련 정보의 reference

서버세션 또는 논리적세션 명령 :

서버세션 또는 논리적세션


🚀 확인 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
'📊DB/MongoDB' 카테고리의 다른 글
  • MongoDB: DB 다운 시 재가동 방법
  • MongoDB: wiredTiger engine 파일 찾는 법
  • MongoDB: 레플리카 셋 구축 가이드
  • MongoDB: Logical Session vs 일반 Session
Diven
Diven
  • Diven
    Diven
    Diven
  • 전체
    오늘
    어제
    • 분류 전체보기 (110) N
      • ☁️Cloud (21) N
        • AWS (2)
        • Alibaba (14) N
        • OCI (1)
        • AWS: Certified Solution Arc.. (0)
        • AWS: Certificate Advanced N.. (2) N
      • 📊DB (13)
        • MongoDB (8)
        • MariaDB (2)
        • PostgreSQL (2)
        • MySQL (1)
      • 🧑🏽‍💻Dev:Lang (9)
        • C++ (0)
        • GO (1)
        • Python (8)
      • ⚙️DevOps (4)
        • CICD (0)
        • Jenkins (4)
      • 🐳Docker (15)
      • 🪢laC (0)
      • ⚓K8s (7)
      • 🐧Linux (25)
      • 🖥️Monitoring (10)
        • Grafana (1)
        • Prometheus (6)
        • Loki (1)
        • ELK (2)
  • 블로그 메뉴

    • 홈
    • 태그
    • 방명록
  • 링크

  • 공지사항

  • 인기 글

  • 태그

    docker
    PolarDB
    prometheus
    Cloud
    MySQL
    jenkins
    SSL
    NGINX
    linux
    centOS7
    mariadb
    alb
    Python
    Alibaba
    알리바바 클라우드
    alertmanager
    k8s
    AWS
    db
    mongoDB
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.6
Diven
MongoDB: TooManyLogicalSessions 에러
상단으로

티스토리툴바