Celery Segmentation Fault

牧云@^-^@ 提交于 2019-12-10 17:39:25

问题


What can I do, when process (celery worker) causes a segmentation fault error? In my case problem raises in celery, but I don't know how to find which module(used in tasks) has a corrupted code. Link to some additional info about problem — https://github.com/ask/celery/issues/690. In other words which command in gdb could give useful info, or other recipes to resolve this problem.

Thanks for your answers.


回答1:


This might help:

Install python-amqp package and remove python-librabbitmq

On Ubuntu, it appears the latest APT package version of python-librabbitmq is 1.0.3 which is too older than the last release (1.5.1). You may install the latest one by pip instead of apt-get:

sudo pip install -U librabbitmq



回答2:


I had similar problem, and it was solved after deleting .celerybeat file.



来源:https://stackoverflow.com/questions/10847620/celery-segmentation-fault

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!