Per process memory and CPU usage control

This page summarizes the projects mentioned and recommended in the original post on /r/NixOS

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • timeout

    A script to measure and limit CPU time and memory consumption of black-box processes in Linux

  • Doing some research I found that one normally uses the timeout script (this however kills processes instead of limiting the amount of resources they can use) or linux control groups. I haven't used any of these on another OS but wonder if this is also the way to do it on NixOs. or would this be done using a nix-shell with some arguments that I am unaware of?

  • lorri

    Discontinued Your project's nix-env

  • Not that I know of but if you are having trouble with rebuilding and running out of memory, maybe the solution would be to cache the builds locally? You could use lorri to cache your development builds (https://github.com/target/lorri).

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts