

























请对 systemd 做如下设置,避免它将你的用户进程调整为更容易被杀:
建立 /etc/systemd/user.conf.d/oom.conf 文件,并写入:
[Manager] DefaultOOMScoreAdjust=0
建立 /etc/systemd/system/user@.service.d/resources.conf 文件(及其中间目录),并写入:
[Service] OOMScoreAdjust=0
systemd 的默认设置也会干扰火狐浏览器自己的设定,造成与预期相反的行为。
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。