Difference between revisions of "Error Command failed with exit code 137"
Jump to navigation
Jump to search
(5 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
error Command failed with exit code 137 | error Command failed with exit code 137 | ||
+ | [[terminated]] | ||
=== [[Amazon CloudWatch Logs Insights]] example: === | === [[Amazon CloudWatch Logs Insights]] example: === | ||
Line 12: | Line 13: | ||
<code>[[containerd]] Task XXXXXXXX [[deleted with exit code 137]]</code> | <code>[[containerd]] Task XXXXXXXX [[deleted with exit code 137]]</code> | ||
+ | == [[yarn build]] == | ||
+ | - info Creating an optimized production build ...Killed | ||
+ | error Command failed with [[exit code 137]]. | ||
+ | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. | ||
+ | |||
+ | Solution: increase memory of machine running your [[yarn build]] process | ||
Line 21: | Line 28: | ||
* <code>[[OOMKilled]]</code> | * <code>[[OOMKilled]]</code> | ||
* [[Killing]] | * [[Killing]] | ||
+ | * <code>[[Reason: OOMKilled - exit code: 137]]</code> | ||
+ | * [[exited with code 137]] | ||
== See also == | == See also == | ||
− | * {{ | + | * {{killing}} |
* {{OOM}} | * {{OOM}} | ||
[[Category:K8s]] | [[Category:K8s]] | ||
[[Category:OOM]] | [[Category:OOM]] |
Latest revision as of 09:40, 7 December 2023
error Command failed with exit code 137
terminated
Amazon CloudWatch Logs Insights example:[edit]
fields @timestamp, @message | filter @message like "error Command failed with exit code 137" | sort @timestamp asc
containerd[edit]
containerd Task XXXXXXXX deleted with exit code 137
yarn build[edit]
- info Creating an optimized production build ...Killed error Command failed with exit code 137. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Solution: increase memory of machine running your yarn build process
Related[edit]
SIGKILL
- Kubernetes
elasticsearch --version
OOMKilled
- Killing
Reason: OOMKilled - exit code: 137
- exited with code 137
See also[edit]
- Killing
- OOM, EarlyOOM, OOM Killer, MemoryPressure (K8s),
systemd-oomd, OOMKilled, oom-killer, memcpy
,sar -r
,Exit code: 137
Advertising: