Skip to content
English
  • There are no suggestions because the search field is empty.

Mongod OOM Killer error

Original Question or Issue:

Mongod crashing with OOM Killer error:


Environment:

  • Product - FileCloud Server
  • Version - Any
  • Platform - Any

Steps to Reproduce:

 


Error or Log Message:

 


Defect or Enhancement Number:

 


Cause:

 


Resolution or Workaround:

Change the system priority for which service to kill when memory is usage is high:

systemctl edit mongod
[Service]
OOMScoreAdjust=-999

systemctl restart mongod

The value can range from anywhere between -1000 and 1000, the lower the number, the less likely the OOM killer will stop this service.


Notes: