运行命令 :  celery worker -A task_log -l info: 有如下警告

2019-12-22 22:42:50,215: WARNING/MainProcess] /root/miniconda3/lib/python3.7/site-packages/kombu/pidbox.py:74: UserWarning: A node named celery@Linux is already using this process mailbox!

Maybe you forgot to shutdown the other node or did not do so properly?
Or if you meant to start multiple nodes on the same host please make sure
you give each node a unique node name!

  warnings.warn(W_PIDBOX_IN_USE.format(node=self))
运行脚本 有如下报错:
[2019-12-22 22:42:57,274: ERROR/MainProcess] Received unregistered task of type 'task_log.worker'.
The message has been ignored and discarded.

Did you remember to import the module containing this task?
Or maybe you're using relative imports?

Please see
http://docs.celeryq.org/en/latest/internals/protocol.html
for more information.

The full contents of the message body was:
'[["log"], {}, {"callbacks": null, "errbacks": null, "chain": null, "chord": null}]' (82b)
Traceback (most recent call last):
  File "/root/miniconda3/lib/python3.7/site-packages/celery/worker/consumer/consumer.py", line 559, in on_task_received
    strategy = strategies[type_]
KeyError: 'task_log.worker'
启动程序,应该是输出三次,结果输出一次或者一次也没有输出卡在那里
原因:运行了两次celery worker 命令
关闭一个命令就好了

最新文章

  1. Logical query-processing phases
  2. Solr:文本分析
  3. mybatis There is no getter for property named 'xxxx
  4. 基于s5pv210嵌入式系统busybox文件系统移植
  5. js屏弊错误
  6. OSG 实现跟随节点的相机(转)
  7. 198. House Robber,213. House Robber II
  8. Windows Azure 成为业内首家被授权为 FedRAMP JAB P-ATO 的供应商
  9. Graphical Shell with WebShell - WebOS Internals
  10. description方法的介绍及重写
  11. shell全自动登录远程终端
  12. 快速傅里叶变换 & 快速数论变换
  13. 对于最近线上服务以及京东等大型互联网公司对java工程师要求的一些思考
  14. Google Bigtable (中文版)
  15. python-类内置属性和内置方法
  16. [Swift]LeetCode435. 无重叠区间 | Non-overlapping Intervals
  17. syslog-ng内容讲解
  18. tp5消息队列使用
  19. idea如何导入一个maven项目
  20. MySQL--修改普通表为自增表

热门文章

  1. 回溯——51. N皇后
  2. seata服务端和客户端配置(使用nacos进行注册发现,使用mysql进行数据持久化),以及过程中可能会出现的问题与解决方案
  3. SpringCloud技术涵盖简介
  4. ORA-31633:unable to create master table "DP.SYS_EXPORT_FULL_11" ORA-01658
  5. libevent 资源链接
  6. [BUUCTF]PWN20——ciscn_2019_n_5
  7. java多线程10:并发工具类CountDownLatch、CyclicBarrier和Semaphore
  8. Excel转Json升级版-Python
  9. Ubuntu Server 下快速搭建DLNA服务器
  10. 【LeetCode】83. Remove Duplicates from Sorted List 解题报告(C++&Java&Python)