nix-community / vulnix

Vulnerability (CVE) scanner for Nix/NixOS.
BSD 3-Clause "New" or "Revised" License
476 stars 36 forks source link

High RAM usage #22

Closed ctheune closed 7 years ago

ctheune commented 8 years ago

In our machines I see RAM usage with more than 1.5GiB while running vulnix. This is problematic as we support VMs with only 1GiB that customers want to use for something useful. This means quality of service suffers while vulnix is running. :(

plumps commented 8 years ago

Maybe cgroups (carried out by systemd) ressource management, limiting cpu / memory could be an approach.

ctheune commented 8 years ago

Uhm. Well. No. :) The RAM is needed by the program at the moment. Limiting it will cause it to crash. Need to review where the memory goes. I'm pretty sure we keep too many copies of data around and can optimize this with an hour or two of effort.

ckauhaus commented 7 years ago

Fixed in 8793c89 (forgot to close the ticket)