Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/338.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/redis/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/reporting-services/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 芹菜会自动消散_Python_Redis_Celery_Broker - Fatal编程技术网

Python 芹菜会自动消散

Python 芹菜会自动消散,python,redis,celery,broker,Python,Redis,Celery,Broker,当我尝试运行worker时: Cellery-A Cellery\u conf--loglevel=debug worker-Q芹菜-c1 它似乎开始了,但随后它“取消”了 知道如何开始调试吗?我已经有了要调试的日志级别 芹菜版本:4.2.1(也在master上测试) Python版本:3.6.6 使用Redis代理 将您的redis py降级为redis>=2.10.0,您能分享更多信息吗?芹菜版?工人代码?您是否使用redis作为后端?broker?我更新了以添加更多信息,工作调用已经存在

当我尝试运行worker时:

Cellery-A Cellery\u conf--loglevel=debug worker-Q芹菜-c1

它似乎开始了,但随后它“取消”了

知道如何开始调试吗?我已经有了要调试的日志级别

  • 芹菜版本:4.2.1(也在master上测试)
  • Python版本:3.6.6
  • 使用Redis代理

将您的redis py降级为
redis>=2.10.0,您能分享更多信息吗?芹菜版?工人代码?您是否使用redis作为后端?broker?我更新了以添加更多信息,工作调用已经存在。您可以共享您的代码吗?也许代码中有些东西让这件事发生了,我很乐意,但是太多了。我正在寻找关于如何调试这个的建议。到目前为止,我所做的是进入芹菜源代码并打印调试语句。这是一个暂时的芹菜错误,得到了修复,我们可以关闭这个线程吗?
[2018-08-07 16:25:16,132: INFO/MainProcess] Connected to redis://server:6379/1
[2018-08-07 16:25:23,984: DEBUG/MainProcess] Canceling task consumer...
[2018-08-07 16:25:24,993: DEBUG/MainProcess] Canceling task consumer...
[2018-08-07 16:25:24,993: DEBUG/MainProcess] Closing consumer channel...
[2018-08-07 16:25:24,993: WARNING/MainProcess] Restoring 1 unacknowledged message(s)
[2018-08-07 16:25:24,996: DEBUG/MainProcess] removing tasks from inqueue until task handler finished