I am facing this issue consistently, whenever I run some CPU and memory intensive processes so OS kills my mongod service. Due to which service goes into the failed state and everything stops.
Command:
journalctl -u mongod.service
Output:
Jun 01 04:41:18 leadsearch systemd[1]: mongod.service: Main process exited, code=killed, status=6/ABRT
Jun 01 04:41:18 leadsearch systemd[1]: mongod.service: Failed with result 'signal'.
Is there any way to check details why my mongod service is being killed by OS?
Please suggested if there is anyway to fix this issue, or am I doing something wrong?