]> git.proxmox.com Git - mirror_lxcfs.git/commit
set oom_score_adj of lxcfs process to -1000
authorTeng Hu <huteng.ht@bytedance.com>
Tue, 23 Aug 2022 09:31:58 +0000 (17:31 +0800)
committerTeng Hu <huteng.ht@bytedance.com>
Tue, 23 Aug 2022 13:27:36 +0000 (21:27 +0800)
commitfc8c93f506f6313a634d9d9ef49e3bb13d7b65d5
treefe27bfed0ab4f00e854e627869e013c38d5b584c
parentdd7fa2f7f309d1c24a3d0e9018d2fdccad65838f
set oom_score_adj of lxcfs process to -1000

Disable oom killing entirely to minimize the hassle comes from
lxcfs exiting unexpectedly, e.g. the mountpoint got lost.

Signed-off-by: Teng Hu <huteng.ht@bytedance.com>
config/init/systemd/lxcfs.service.in
config/init/sysvinit/lxcfs
config/init/upstart/lxcfs.conf