Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Batch Job typically takes 3-4 minutes to complete, yesterday it took nearly 3 hours

I've ran several hundred Batch Jobs and this scenario has occurred a small handful of times.  My code has erratic behavior when this scenario occurs.  My code is simply interacting with an API and updating some data on Firebase.

What could possibly cause this? I'd love some insight on how to prevent it. Thank you. 

long execution.png

details.png

  

0 4 464
4 REPLIES 4

@1011 Do you have Cloud Logging enabled? If so, could you see anything abnormal there?  You can enable Cloud Logging and add some output messages around the potential problematic areas (like calling remote APIs, etc).

We cannot access Cloud Logging in your project. But if you can provide us your job region and job UID (which you can get in the job details page in the UI or with 'gcloud batch jobs describe'), we can try to take a look from the service side.

Cloud Logging is enabled yes. 

Should I DM you the job region and job UID? 

@1011 could you send that to gcp-batch-preview@google.com with link to reference this post? thanks.

Will do. 

Sending over.