-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
CPU high with terroform processes #5043
Comments
It's definitely a bug if plugin processes like these keep running after the main Terraform process has exited. I've added the "bug" tag to represent this. Do you recall if your plan command completed successfully, or if there were errors during processing? Did you interrupt (e.g. Ctrl+C) Terraform while it was running? None of these situations should cause this situation you're seeing, but understanding the context should make it easier to narrow down the cause here. |
Hi @SydOps - are you running a build from |
@jen20
|
Yes I did interrupted once, when run |
One more finding. the process |
@SydOps thanks for reporting this! Can you provide the config you were using when this scenario occurred? |
I am not sure if I can share official *.tf files here. But I can give the github repository that we used for reference. https://github.com/mozilla/socorro-infra/tree/master/terraform |
Unfortunately this one is going to be difficult to run down without some way of reproducing it for analysis. As far as I can tell - what we know so far is "Interrupting Terraform at certain points can result in stray plugins in a hot loop" |
Moving this report over to |
Thanks for the updating. Thanks for your time. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
On last Friday, I run several terraform plan commands on my Macbook. I didn't use my laptop at weekend.
Today morning, I found CPU usage is high:
So my question is, after i run
terraform plan
, why some terraform processes keep running in background? Why it takes so high CPU?The text was updated successfully, but these errors were encountered: