Skip to content
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

ffiselect: Set /proc/../oom_score_adj #329

Open
magik6k opened this issue Nov 19, 2024 · 0 comments
Open

ffiselect: Set /proc/../oom_score_adj #329

magik6k opened this issue Nov 19, 2024 · 0 comments

Comments

@magik6k
Copy link
Collaborator

magik6k commented Nov 19, 2024

We should be setting /proc/[childpid]/oom_score_adj to a high value like 900 on tasks which aren't PoSt so that:

  • The main process is less likely to be killed
  • Other processes on the machine are less likely to be killed (Lotus, yugabyte)
  • Things don't break horribly when the scheduler misjudges how much memory we have (i.e. something outside of curio uses a bunch of memory in the middle of a memory-heavy task)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant