oar-team / oar

OAR is a versatile resource and task manager (also called a batch scheduler) for clusters and other computing infrastructures.
http://oar.imag.fr/
GNU General Public License v2.0
44 stars 23 forks source link

[oardodo] parametrize the OOM killer setup of oardodo #187

Closed npf closed 3 years ago

npf commented 3 years ago

Each node can have a different /etc/oar/oom.conf to let choose the OOM priority to give to OAR user processes run by oardodo, so that they get killed before system processes.

Typically if other mechanisms are in place, such as cgroups, to limit the memory usage of OAR user processes, /etc/oar/oom.conf may contain "0:0" to keep the default values.

In G5K, we thus can create a /etc/oar/oom.conf containing a line with "0:0" on frontends, as requested by https://intranet.grid5000.fr/bugzilla/show_bug.cgi?id=13212