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

Apple M1: cpu resource is exhausted #11046

Closed
hanshasselberg opened this issue Aug 12, 2021 · 2 comments · Fixed by #16672
Closed

Apple M1: cpu resource is exhausted #11046

hanshasselberg opened this issue Aug 12, 2021 · 2 comments · Fixed by #16672
Labels

Comments

@hanshasselberg
Copy link
Member

Nomad version

Output from nomad version: v1.1.0.

Operating system and Environment details

macOS Big Sur with M1 Chip

Issue

Nomad doesn't properly detect the CPU resources I have and claims CPU is exhausted even though there is plenty left. I went back to v1.0.4 which fixed it.

Reproduction steps

Expected Result

Actual Result

Job file (if appropriate)

Nomad Server logs (if appropriate)

Nomad Client logs (if appropriate)

@jk563
Copy link

jk563 commented Dec 10, 2021

I see the same issue following the Getting Started guide. The initial example.nomad works as expected, but in the "Scale and Update a Job" section when moving to count = 3 running the job fails to place all 3 (it successfully places 2). The plan also indicades it'll fail.

@mikenomitch
Copy link
Contributor

mikenomitch commented Feb 16, 2022

This workaround was mentioned in this issue, but also wanted to mention it here for visibility:

Setting cpu_total_compute in your client config can manually "fix" this until the underlying fingerprinter works properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants