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

Set chromium's oom_score_adj to 1000, making it very killable #105

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

nadiamoe
Copy link
Member

@nadiamoe nadiamoe commented Jan 21, 2025

Alternatively to making the supervisor hard to kill (#104) we can make the browser easy to kill.
This should hint the kernel to kill chromium first when the container starts memory starving.

The main problem with this approach is that chromium is multiprocessed, and the immediate child of crocochrome, which is the one we can make an easy target, is most likely not the one using the most memory.

@nadiamoe nadiamoe force-pushed the oom-adjust-chromium branch from 2c87d8a to ea66952 Compare January 21, 2025 15:11
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

Successfully merging this pull request may close these issues.

2 participants