-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
systemd: Introduce systemd-oomd conf #134
base: master
Are you sure you want to change the base?
systemd: Introduce systemd-oomd conf #134
Conversation
oomd.conf define a systemd oomd conf, service can be enabled manually by user when enable ``` systemctl enable --now systemd-oomd ``` Based on https://www.reddit.com/r/archlinux/comments/mk2lg6/how_to_properly_configure_systemdoomd/?rdt=56355
I'm not against it, but, unfortunately, we offer in repositories kernels with PRJC schedulers that don't support PSI, which uses systemd-oomd to monitor the system load, so I'm not sure if we should enable that by default in cachyos-settings package. |
Not familiar with systemd-oomd so I need to look through some documentation to see what the conf is doing, but we could include the conf (if it's good) and just have systemd-oomd as an optional service to enable, i.e. what we have right now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Personally im fine with it.
Yes, prjc does need PSI, but not many users are using bmq and also would require additonal enabling of the service.
can be good to warning first like a new doc page just to explain in details systemd-oomd? |
i'm not familiar too, but this reddit tip has worked for me |
Thank you |
after edit: that being said using this config, this command still gets me oom: |
Yes, I had it enabled, I also disabled and re-enabled it now, then I tried: At that point I did |
your system ram is really big, i think if you leave for some time the systemd-oomd will kill it but you can try with defaults from second comment in reddit ManagedOOMMemoryPressure=kill you can try too: |
oomd.conf define a systemd oomd conf, service can
be enabled manually by user when enable
systemctl enable --now systemd-oomd
Based on https://www.reddit.com/r/archlinux/comments/mk2lg6/how_to_properly_configure_systemdoomd/?rdt=56355
Is possible too for separate it in a new package and enable this service in it.
A oomd.conf.d/ can be too prefered if be necessary