paddleocr错误 FatalError:`Process abort signal is detected by the operating system
paddleocr错误 FatalError:Process abort signal
is detected by the operating system
查看issue#36281,并不是paddle内部错误,import paddle之后,paddle会注册全局的signal haddler捕获系统错误,主要是为了paddle能捕获自己出现的此类错误.由于使用gunicorn 启的web服务,最后发现是gunicorn worker超时 WORKER TIMEOUT
请问 FatalError: Segmentation fault
is detected by the operating system. 是不是 paddle 的报错信息 · Issue #36281 · PaddlePaddle/Paddle · GitHub
解决方式:
1.关闭paddle这个处理机制
import paddle
paddle.disable_signal_handler() # 在2.2版本提供了disable_signal_handler接口
2.使用异步任务
paddleocr错误 FatalError:`Process abort signal is detected by the operating system
https://centyuan.github.io/2023/11/06/有趣的杂烩/paddleocr错误 FatalErrorProcess abort signal is detected by the operating system/