Skip to content

Implement an optional method using sigstop/sigcont instead of sigkill #357

@gto2023

Description

@gto2023

make, ninja and therefore package managers like Gentoo's portage allow to run compilation jobs in parallel. Sometimes, if a few jobs simultaneously require very large amounts of memory (as gcc with lto or qtwebengine regularily do) , the swapper starts trashing pages, prolonging the installation of such a package from hours to days and equally impeding user interaction .

Killing an offending task would be pointless in such a situation, whereas manually stopping each of such tasks and allowing to continue e.g. only one of them at a time until the memory pressure subsides does work very well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions