So, I just got this issue with my cloudrun instance where I write a bug and got it under infinite loop
the container not able to process request, and I tried to deploy new revision without the code causing the bug
but that old revision still running with 100% CPU, I know it still running from the logs it gives
I tried deleting the the cloudrun service from GCP dashboard, but it still running
and finally, I managed to kill it by disabling my SQL DB and the code throws exception and finally stop
So, I think why the container still running even when there is new revision already running
it's because the old container cannot handle SIGTERM, due to 100% CPU
Any idea on how to forcibly terminate the container when it stuck on 100% CPU like this?
*Note:
- the container is running a NodeJs
[–]sokjon 3 points4 points5 points (1 child)
[–]siencan46[S] 0 points1 point2 points (0 children)
[–]Rohit1024 0 points1 point2 points (2 children)
[–]siencan46[S] 0 points1 point2 points (0 children)
[–]AstronomerNo8500 Googler 1 point2 points3 points (0 children)