-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.6.2
-
Component/s: None
-
None
-
Environment:Production
Problem Statement/Rationale
On trying to stop the mongod process using the command - sudo systemctl stop mongod, the process got stuck. And the RAM usage started increasing and reached upto 98%. After the systemd timeout, mongod process was killed. We saw below log for this
State 'stop-sigterm' timed out. Killing.
In the logs, we also saw, mongod was trying to close connections but it got stuck there as well.
This issue happened on all instances of the replicaset. We tried increasing the systemd timeout to upto 15 min, still the sudo systemctl stop mongod was stuck for 15 mins
After the mongod process was killed, we started it again. It started successfully
- duplicates
-
SERVER-64814 Mongod hangs on shutdown and RAM usage reaches upto 98%
- Closed