Mongodb shutting down

Hi I am facing an issue

tail -f /data/mongodb.log

{"t":{"$date":"2023-08-19T07:31:06.694+00:00"},"s":"I",  "c":"STORAGE",  "id":4795901, "ctx":"SignalHandler","msg":"WiredTiger closed","attr":{"durationMillis":433}}
{"t":{"$date":"2023-08-19T07:31:06.694+00:00"},"s":"I",  "c":"STORAGE",  "id":22279,   "ctx":"SignalHandler","msg":"shutdown: removing fs lock..."}
{"t":{"$date":"2023-08-19T07:31:06.694+00:00"},"s":"I",  "c":"-",        "id":4784931, "ctx":"SignalHandler","msg":"Dropping the scope cache for shutdown"}
{"t":{"$date":"2023-08-19T07:31:06.694+00:00"},"s":"I",  "c":"FTDC",     "id":4784926, "ctx":"SignalHandler","msg":"Shutting down full-time data capture"}
{"t":{"$date":"2023-08-19T07:31:06.694+00:00"},"s":"I",  "c":"FTDC",     "id":20626,   "ctx":"SignalHandler","msg":"Shutting down full-time diagnostic data capture"}
{"t":{"$date":"2023-08-19T07:31:06.738+00:00"},"s":"I",  "c":"CONTROL",  "id":20565,   "ctx":"SignalHandler","msg":"Now exiting"}
{"t":{"$date":"2023-08-19T07:31:06.738+00:00"},"s":"I",  "c":"CONTROL",  "id":23138,   "ctx":"SignalHandler","msg":"Shutting down","attr":{"exitCode":0}}

Hey @edam_meghanath,

Welcome to the MongoDB Community!

Based on the log snippets you provided, it looks like your MongoDB server was shut down gracefully. It exits with code 0, indicating a clean shutdown.

Few things to check:

  • Could you verify the shutdown was intentional and not due to a system failure?
  • When MongoDB shuts down uncleanly, it will run recovery on restart. Check if that occurred on the next startup.

If the shutdown was intentional and everything seems normal on restart, then it likely was just a clean shutdown event.

Also, I noticed there are also mms-automation processes that usually belong to Ops Manager or Cloud Manager. If you’re having any specific issues with those products, please open a support ticket so the issue can be addressed by engineers.

Regards,
Kushagra