MongoDB "TooManyLogicalSessions" 오류

2021. 6. 28. 02:27서버 프로그래밍

Mongos 라우터 인스턴스가 CPU 사용률 100%가 되고, "TooManyLogicalSessions"라는 오류를 내면서 접속이 불가능한 경우가 발생하였다.

일단 해당 인스턴스를 재부팅하고 다시 실행시키는 조치를 취하기는 했는데, 근본적인 해결책이 되는지는 확실치 않다.

 

How to fix Mongo “TooManyLogicalSessions” error?

https://stackoverflow.com/questions/62433556/how-to-fix-mongo-toomanylogicalsessions-error

 

How to fix Mongo "TooManyLogicalSessions" error?

I have a sharded cluster of replica sets. It seems I consistently run into the TooManyLogicalSessions error, shown below: MongoDB shell version v4.2.5 connecting to: mongodb://127.0.0.1:27017/?

stackoverflow.com