芹菜分割故障 [英] Celery Segmentation Fault

查看:137
本文介绍了芹菜分割故障的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当进程(芹菜工作者)导致分段错误错误时,我该怎么办?
在我的情况下,问题引发了芹菜,但我不知道如何找到哪个模块(在任务中使用)具有损坏的代码。
链接到有关问题的其他信息 - https://github.com/ask/celery /问题/ 690
换言之,gdb中的哪个命令可以提供有用的信息或其他食谱来解决此问题。



感谢您的回答。

解决方案

这可能有助于:

安装python-amqp软件包并移除python-librabbitmq



<在Ubuntu上,它看起来是python-librabbitmq的最新APT软件包版本是1.0.3,比上一版本(1.5.1)要旧。您可以通过pip而不是apt-get来安装最新版本:

  sudo pip install -U librabbitmq 

code>


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.

解决方案

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

这篇关于芹菜分割故障的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆