0

I'm deploying a dockerized worker script to Google Cloud Run that is not serving HTTP requests (thus, not an API). I had this exact same image deployed to a fly.io shared CPU that has 1 GB ram and 1 CPU and it has been running smoothly for 3 months straight but in Google Cloud Run the application randomly stops after 20 minutes, there are no error logs and no signs of resource overload (I have 2 CPUs and 2 GB RAM, basically the double of resources I had before).

Everytime before it stops there's a small spike in my resource usage but I don't think it's big enough to make the whole application hang, and as I said before I have absolutely no errors printed in my logs so I don't know what's going on, can I get some guidance? This is my first time deploying in GCloud and there's probably something I'm missing.

enter image description here

0

1 Answer 1

0

If anyone faced the same issue, you have to set the "minimum number of instances" to 1 instead of 0 so it doesn't stop.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .