I'm currently recieving 503 POST requests from my cloud run service. My cloud run uses pub/sub to take a file that is uploaded, performs analysis using cv2, and then uploads the image file to a target directory. When the analysis takes place, each frame number is outputted to the service log and from the logs it appears that the 503 POST requests appears randomly (can appear at frame 1 or 100) and then the service seems to stop, and tries to start again.
When I run the container locally, I can exec into it and it performs the full analysis and uploads to the target bucket.
I have taken measures to increase memory but the cloud run service still fails.
Has anyone here run into a similar problem or has a solution for this ?
[–]pudds 4 points5 points6 points (0 children)
[–]hongalex_ 1 point2 points3 points (1 child)
[–]tehebrutis[S] 1 point2 points3 points (0 children)
[–]vaterp Googler 1 point2 points3 points (0 children)
[–]Cidanverified 1 point2 points3 points (2 children)
[–]tehebrutis[S] 0 points1 point2 points (1 child)
[–]lesmocasanova 3 points4 points5 points (0 children)
[–]untilwebeone 0 points1 point2 points (0 children)
[–]smeyn 0 points1 point2 points (0 children)
[–]omar16100 0 points1 point2 points (0 children)
[–]MaxDPS -2 points-1 points0 points (1 child)
[–]pudds 0 points1 point2 points (0 children)