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
Error: spawn /bin/sh EAGAIN #1578
Comments
@jhermsmeier Do you think this might have the same cause as #1571 ? |
Could be the underlying cause, but EAGAIN in this case would hint at the spawn / child process timing out I believe – this is something we should handle gracefully, and as the error says, try again. |
The
This hints me that there might be something keeping the temporary script processes up and running even when they are not longer needed (maybe the perl bug we fixed recently?), and therefore exhausting the system process limit during the weekend. @firedev Did you notice high CPU usage after the weekend? |
@jviotti I can't say for sure, the notebook was mostly closed. I don't think I have noticed anything unusual today. Anything specific I should pay attention to the next time I see this? |
@firedev I'd advice to open the Activity Monitor, and take a look at how many processes are active. Also take a look at the process list, to see if you can identify a single application with way too many processes (could be Etcher, or it could be something else.) |
EAGAIN errors come from `uv_spawn()`, and may happen because of the following reasons (from the man pages): - The system-imposed limit on the total number of processes under execution would be exceeded. This limit is configuration-dependent - The system-imposed limit MAXUPRC (<sys/param.h>) on the total number of processes under execution by a single user would be exceeded This commit retries the spawning operation various times before giving up with a human friendly error message. See: balena-io/etcher#1578 Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
EAGAIN errors come from `uv_spawn()`, and may happen because of the following reasons (from the man pages): - The system-imposed limit on the total number of processes under execution would be exceeded. This limit is configuration-dependent - The system-imposed limit MAXUPRC (<sys/param.h>) on the total number of processes under execution by a single user would be exceeded This commit retries the spawning operation various times before giving up with a human friendly error message. Change-Type: patch See: balena-io/etcher#1578 Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
EAGAIN errors come from `uv_spawn()`, and may happen because of the following reasons (from the man pages): - The system-imposed limit on the total number of processes under execution would be exceeded. This limit is configuration-dependent - The system-imposed limit MAXUPRC (<sys/param.h>) on the total number of processes under execution by a single user would be exceeded This commit retries the spawning operation various times before giving up with a human friendly error message. Change-Type: patch See: balena-io/etcher#1578 Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
EAGAIN errors come from `uv_spawn()`, and may happen because of the following reasons (from the man pages): - The system-imposed limit on the total number of processes under execution would be exceeded. This limit is configuration-dependent - The system-imposed limit MAXUPRC (<sys/param.h>) on the total number of processes under execution by a single user would be exceeded This commit retries the spawning operation various times before giving up with a human friendly error message. Change-Type: patch See: balena-io/etcher#1578 Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
This new version contains the following PRs that we're interested about: - balena-io-modules/drivelist#196 To reduce the amount of debug logging we produce (see #1600). - balena-io-modules/drivelist#195 To properly handle spawning EAGAIN errors. Fixes: #1578 Change-Type: patch Changelog-Entry: Retry various times on EAGAIN when spawning drive scanning scripts. Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
This new version contains the following PRs that we're interested about: - balena-io-modules/drivelist#196 To reduce the amount of debug logging we produce (see #1600). - balena-io-modules/drivelist#195 To properly handle spawning EAGAIN errors. Fixes: #1578 Change-Type: patch Changelog-Entry: Retry various times on EAGAIN when spawning drive scanning scripts. Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
This new version contains the following PRs that we're interested about: - balena-io-modules/drivelist#196 To reduce the amount of debug logging we produce (see #1600). - balena-io-modules/drivelist#195 To properly handle spawning EAGAIN errors. Fixes: #1578 Change-Type: patch Changelog-Entry: Retry various times on EAGAIN when spawning drive scanning scripts. Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
This new version contains the following PRs that we're interested about: - balena-io-modules/drivelist#196 To reduce the amount of debug logging we produce (see #1600). - balena-io-modules/drivelist#195 To properly handle spawning EAGAIN errors. Fixes: #1578 Change-Type: patch Changelog-Entry: Retry various times on EAGAIN when spawning drive scanning scripts. Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
1.0.0
macOS
I just left it open over a weekend, and noticed it now shows an error box
The text was updated successfully, but these errors were encountered: