* On the installation CD, set the overcommit heuristic to "always
overcommit". This makes it less likely that the installer fails randomly in low memory environments. svn path=/nixos/trunk/; revision=26369
This commit is contained in:
parent
a19849914a
commit
6ee609a0a3
@ -57,6 +57,13 @@ in
|
||||
tar xjf ${nixpkgsTarball}/nixpkgs.tar.bz2 -C /etc/nixos/nixpkgs
|
||||
chown -R root.root /etc/nixos
|
||||
''}
|
||||
|
||||
# Make the installer more likely to succeed in low memory
|
||||
# environments. The kernel's overcommit heustistics bite us
|
||||
# fairly often, preventing processes such as nix-worker or
|
||||
# download-using-manifests.pl from forking even if there is
|
||||
# plenty of free memory.
|
||||
echo 1 > /proc/sys/vm/overcommit_memory
|
||||
'';
|
||||
|
||||
# To speed up installation a little bit, include the complete stdenv
|
||||
|
Loading…
Reference in New Issue
Block a user