Skip to content

Spindle hangs if NUMA requested and process lacks CAP_SYS_NICE #111

@nchaimov

Description

@nchaimov

The sched_setaffinity function and related functions used by libnuma require CAP_SYS_NICE. If Spindle is launched in NUMA mode, but lacks this capability, Spindle hangs. Spindle should check whether it has CAP_SYS_NICE and, if not, gracefully degrade rather than hanging. This can be reproduced by running the serial testsuite image with CAP_SYS_NICE removed from docker-compose.yml.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions