I'm running debian docker container at google cloud run (gcc (Debian 10.2.1-6+build2) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2).
Something sends SIGTERM to my app and it dies. There is no obvious reason why. How can figure out what and why kills my container app?
App runs some C-based stuff and exactly the same container with exactly the same input works on local Macbook w/o problem. The problem is reproducible only at google cloud run.
What can i check?
UPD:
Application exec likely failed
terminated: Application failed to start: not available
that's all I can find useful at Google cloud run logs. I can see that app (python) receives SIGTERM.
I've added signal handlers but it didn't help, no extra info.
I've added
dmesg
output at SIGTERM handler, no extra info. The last message is about initialised network interface. Don't see any traces of root cause100% it's not timeout or stuff like that since longer requests work fine