3
0
Fork 0
forked from mirrors/nixpkgs
Nix Packages collection
Go to file
Eelco Dolstra 7579933824 * Don't mount /dev/cgroup with the "ns" subsystem. If it's mounted,
then every unshare(CLONE_NEWNS) system call causes a new entry to be
  created in /dev/cgroup/<pid>, which is not removed automatically.
  This can cause subsequent calls to unshare() to fail if the PID has
  wrapped around.  Worse, a large number of entries in /dev/cgroup
  causes a very substantial system slowdown: doing 10,000
  fork()/unshare(CLONE_NEWNS)/exit() calls took 21s without the "ns"
  subsystem, but 2m43s with it, and the system slows down permanently
  until the entries in /dev/cgroup are removed (going to a load of > 6
  on my laptop).

  This is particularly important for Nix because its chroot feature
  uses unshare(CLONE_NEWNS).  (http://yellowgrass.org/issue/Nix/219)

svn path=/nixos/trunk/; revision=27216
2011-05-11 09:33:24 +00:00
doc Manual (user configuration): Fix minor typo. 2011-05-01 10:24:41 +00:00
gui nixos-gui: Remove dead code, Comment debug. 2011-04-25 22:23:12 +00:00
lib * Remove most references to the "services" tree. 2011-04-27 13:16:33 +00:00
maintainers Clean-up option-usages.nix by using recent library functions. 2009-09-29 16:42:22 +00:00
modules * Don't mount /dev/cgroup with the "ns" subsystem. If it's mounted, 2011-05-11 09:33:24 +00:00
tests svn path=/nixos/trunk/; revision=27077 2011-05-01 21:50:00 +00:00
COPYING * Add a license, finally :-) 2010-05-28 11:48:41 +00:00
default.nix * Added a command `nixos-rebuild build-vm-with-bootloader'. This is 2010-09-13 12:34:58 +00:00
README * URL updates. 2008-05-09 15:08:43 +00:00
release.nix svn path=/nixos/trunk/; revision=27077 2011-05-01 21:50:00 +00:00
VERSION * Version number, stable marker. 2006-11-04 11:27:08 +00:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.