I have an php image resizer script running as a Gearman job. Supervisord has been configured to run a resizer worker when started. Now When a user uploads an image, gearmand assigns the job to the worker located on a different machine, which resizes the image and sends it back to the webserver.
The setup works well. The issue is that the script stops functioning after about an hour. The gearman queue shows 1 worker registered, 10 jobs waiting (if I’ve uploaded 10 images) and 0 jobs running. If I kill the php process running under supervisord, supervisord immediately restarts the process and all my images get resized.
Could anyone please tell me why the php script stops responding after a certain length of time?
Thanks,
Adi
Look at version 0.32 or 0.33. Etsy had found a dead lock bug in the server that has now been fixed.
Cheers,
-Brian