Replies: 6 comments 2 replies
-
Hi @fsanzdev, thanks for creating this. We've most often seen this issue when the container runs out of memory. Is your ECS deploy runner using the default amount of memory (4GB)? You can test this locally by building a docker image with From the base dir of your repo, you can run something like this (assuming you use the default values for mem and cpu for the deploy runner), after building your image.
Before running the We've found that doubling the memory (to 8GB, if you're using the default to values) was generally sufficient, but you will want to test on your own modules to confirm. |
Beta Was this translation helpful? Give feedback.
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
We already had 8GB in the provisioner task and although the plan is long, it's split into several pieces for each environment which uses a new Fargate instance each time, so it's an 8GB instance for some changes in just 4 folders. Regarding permissions we don't know how that could be the issue since it's being run in the pipeline. |
Beta Was this translation helpful? Give feedback.
-
@fsanzdev I would still recommend measuring memory locally to rule out memory. Even if the changes are localized to a small number of folders, if the plan is long, it could be consuming more memory than the container has available. |
Beta Was this translation helpful? Give feedback.
-
@MoonMoon1919 I'm reopening the ticket because we run the docker test container and the consumption was always very low. We also increased the Fargate instances memory to 16GB to rule out the memory issue but we are still getting this "exit 126" error when trying to process planes with "envcommon" changes involved. |
Beta Was this translation helpful? Give feedback.
-
Was this issue resolved? We are seeing the same issue, also intermittent 126 errors when a change to envcommon is made. |
Beta Was this translation helpful? Give feedback.
-
Hi,
When running a plan through the GW pipeline, I keep getting this error:
If I run the same command the deployer is trying to run from my local desktop everything runs as expected with
No Changes
:The weird thing is that this error doesn't happen all the time in the same place, it happens when the pipeline is running for 5m and processing the
staging
folder, and next time it happens when the pipeline is running forprod
environment and after 10m. What we see is that it happens a lot when we have long-time running pipelines.We set the log for the deployer to debug but we can't see anything related to the infra, just that Python error message.
Any idea what could be happening? Thanks!
Tracked in ticket #110556
Beta Was this translation helpful? Give feedback.
All reactions