Signal 11 in a celery task, and then triggering on_failure
问题 I'm having trouble debugging this and haven't made much progress. I have along running async celery task that'll sometimes hit a signal 11 (it's a recursive/CPU-bound function that can be run into stack size issues). So, for example: Process 'ForkPoolWorker-2' pid:5494 exited with 'signal 11 (SIGSEGV)' I'd like to modify my celery task, task class and request to catch this and trigger the on_failure function of the task class. I haven't had any luck though. I'm running this with a redis