We are using Google App Engine in Standard environment to ingest large amount of data to Google Cloud Firestore with below configuration:
instance_class: B4
basic_scaling:
instances: 1
The overall data ingestion of 20GB takes around 1.5 hours. But we have noticed that some time after an hour, instance is abruptly shutting down with below error:
Container terminated on signal 9.
As per this How Instances are Managed documentation, basic scaling can serve the request up to 24 hours.
We can not see any more details in the logs as well. Also checked the memory usage, B4 has 1024 MB and the app is only utilizing up to 350 MB.
If anyone has faced this kind of error, your input would be valuable!