Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

abort mass-rebuilder if less than 8Gb of memory is "available" #176

Merged
merged 1 commit into from Jun 30, 2018

Conversation

obadz
Copy link
Contributor

@obadz obadz commented May 21, 2018

…where available is defined as "how much RAM can the kernel give to an application immediately without having to reach for swap".

@grahamc, are you sure we shouldn't instead check for total memory assuming other sources of memory usage can be pushed to swap?

Coded up at the London Rust meetup https://www.meetup.com/Rust-London-User-Group/events/250178008/

@obadz
Copy link
Contributor Author

obadz commented May 22, 2018

I assume I need to regenerate the carnix file but that does not seem to work?

$ sh nix/update-carnix.sh 
error: Found argument './../ofborg/Cargo.lock' which wasn't expected, or isn't valid in this context
$ carnix --version
carnix 0.8.5

…where available is defined as "how much RAM can the kernel give to an
application immediately without having to reach for swap".
@grahamc grahamc merged commit 5e2fa6b into NixOS:released Jun 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants