Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • cgroups & killing processes

    Posted on

    Hi all,

    I am playing with cgroups right now to test memory limits for group of processes.
    It works very well except ... killing processes. I mean if process is trying to allocate too big chunk of memory
    (over its limits) it is killed. Is it possible to configure cgroups to refuse giving memory to process
    but not kill it ? What I mean is that syscalls like malloc etc should give an error instead (of course
    the code should maintain failure but this is another topic ...) but the process shouldn't be killed.
    Is it possible somehow ?

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat