Skip to content

Commit

Permalink
too many open files
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Pierce committed Apr 14, 2021
1 parent 349cdcc commit 7c22f0d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions content/en/docs/Anka Build Cloud/prepare-nodes.md
Expand Up @@ -67,6 +67,8 @@ Once the Anka Build Virtualization software has been installed onto a macOS mach

7. Set the same `chunk_size` across your nodes with `anka config chunk_size 2147483648` (2GB). Any of the machines that create VM templates/tags need to also have this set.

> If the chunk_size is too small, you may hit `Too many open files` when trying to start VMs. You can try to modify the system's maxfiles (`sudo launchctl limit maxfiles 4096 unlimited`), but it may also be a good idea to increase the `chunk_size` to a larger size as well.
8. **Reboot the host**

> You may also want to have your nodes restart on host level failure: `systemsetup -setrestartpowerfailure on` & `systemsetup -setrestartfreeze on`

0 comments on commit 7c22f0d

Please sign in to comment.