azure-functions-python-worker
azure-functions-python-worker copied to clipboard
Handle SIGTERM signal
To debug error 143 , the python worker process should handle SIGTERM signal and log the current memory usage before exiting.
We need this until we have some other way of getting memory status from the container.
Hey Bala, I don't have too much context, could you attach a link to error 143 here?
This is on the roadmap for the next few months.
There are places exit with 143, worker dies before the host (maybe memory issue). Logs through STDERR, needs to implement SIGTERM handler.
@balag0 is this still relevant?
Yes.