R
RunPod5d ago
rushab

worker exited with exit code 0

Hello team, I'm trying to host my remotion video rendering on Runpod serverless built with nodejs via docker. the build completes but when I shoot a request, it never moves out of job queue, worker starts and gives error worker exited with exit code 0 and never shuts down and the video didn't get's rendered every time I've to terminate the worker and purge the queue. What is going wrong? worker id - j9spmt6ba47py6 endpoint - https://api.runpod.ai/v2/1bqxtx4casdrc9/run
5 Replies
Jason
Jason5d ago
can you check your dockerfifle you must execute your handler.py, and call serverless start if you did that, check for errors in your code, add debugging logs to check for errors in the process
rushab
rushabOP3d ago
Okay @Jason, thank you for your response. adding and checking it Hey @Jason , I did this, still the same error. It just gives error exited with code 0, nothing else
Jason
Jason3d ago
Try using. Working example from runpod worker github instead Then change your way from there If something goes wrong reverse back to the working one
riverfog7
riverfog73d ago
why exit code 0 tho maybe your docker CMD doesn't wait forever
Jason
Jason3d ago
Yeah many reasons, just means the program is finished Google says

Did you find this page helpful?