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

launchd: Set NumberOfFiles to 4096 #5726

Merged
merged 1 commit into from
Dec 6, 2021
Merged

launchd: Set NumberOfFiles to 4096 #5726

merged 1 commit into from
Dec 6, 2021

Conversation

azuwis
Copy link
Contributor

@azuwis azuwis commented Dec 4, 2021

The default maxfiles on macOS 11 and macOS 12 is 256, which is too low
for nix to work:

$ launchctl limit maxfiles
	maxfiles    256            unlimited

Set NumberOfFiles of nix-daemon to 4096 to avoid Too many open files
error.

The default maxfiles on macOS 11 and macOS 12 is 256, which is too low
for nix to work:

```
$ launchctl limit maxfiles
	maxfiles    256            unlimited
```

Set NumberOfFiles of nix-daemon to 4096 to avoid `Too many open files`
error.
@hexagonal-sun
Copy link

This fixed an issue that stopped me from bootstrapping my initial Darwin config. Thanks @azuwis .

@roberth
Copy link
Member

roberth commented Dec 5, 2021

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.

4 participants