python – Celery死于DBPageNotFoundError

python – Celery死于DBPageNotFoundError,第1张

概述我有3台机器与芹菜工人和rabbitmq作为经纪人,一名工人正在运行与击败旗,所有这一切都由主管管理,有时芹菜死亡有这样的错误. 此错误仅出现在节拍工作人员身上,但当出现时,所有计算机上的工作人员都会死亡. (celery == 3.1.12,kombu == 3.0.20) [2014-07-05 08:37:04,297: INFO/MainProcess] Connected to amqp 我有3台机器与芹菜工人和rabbitmq作为经纪人,一名工人正在运行与击败旗,所有这一切都由主管管理,有时芹菜死亡有这样的错误.
此错误仅出现在节拍工作人员身上,但当出现时,所有计算机上的工作人员都会死亡.
(celery == 3.1.12,kombu == 3.0.20)
[2014-07-05 08:37:04,297: INFO/MainProcess] Connected to amqp://user:**@192.168.15.106:5672//[2014-07-05 08:37:04,311: ERROR/Beat] Process BeatTraceback (most recent call last):file "/var/projects/env/local/lib/python2.7/site-packages/billiard/process.py",line 292,in _bootstrapself.run()file "/var/projects/env/local/lib/python2.7/site-packages/celery/beat.py",line 527,in runself.service.start(embedded_process=True)file "/var/projects/env/local/lib/python2.7/site-packages/celery/beat.py",line 453,in starthumanize_seconds(self.scheduler.max_interval))file "/var/projects/env/local/lib/python2.7/site-packages/kombu/utils/__init__.py",line 322,in __get__value = obj.__dict__[self.__name__] = self.__get(obj)file "/var/projects/env/local/lib/python2.7/site-packages/celery/beat.py",line 491,in schedulerreturn self.get_scheduler()file "/var/projects/env/local/lib/python2.7/site-packages/celery/beat.py",line 486,in get_schedulerlazy=lazy)file "/var/projects/env/local/lib/python2.7/site-packages/celery/utils/imports.py",line 53,in instantiatereturn symbol_by_name(name)(*args,**kwargs)file "/var/projects/env/local/lib/python2.7/site-packages/celery/beat.py",line 357,in __init__Scheduler.__init__(self,*args,line 184,in __init__self.setup_schedule()file "/var/projects/env/local/lib/python2.7/site-packages/celery/beat.py",line 376,in setup_scheduleself._store['entrIEs']file "/usr/lib/python2.7/shelve.py",line 121,in __getitem__f = StringIO(self.dict[key])file "/usr/lib/python2.7/bsddb/__init__.py",line 270,in __getitem__return _DeadlockWrap(lambda: self.db[key])  # self.db[key]file "/usr/lib/python2.7/bsddb/dbutils.py",line 68,in DeadlockWrapreturn function(*_args,**_kwargs)file "/usr/lib/python2.7/bsddb/__init__.py",in <lambda>return _DeadlockWrap(lambda: self.db[key])  # self.db[key]DBPageNotFoundError: (-30985,'DB_PAGE_NOTFOUND: Requested page not found')
解决方法 我遇到过这个问题,原因是一个损坏的db文件(通常名为“celerybeat-schedule”).
解决方案是删除现有的db文件并重新启动该进程.

Relavent:bsddb.db.DBPageNotFoundError
https://mail.python.org/pipermail/python-list/2009-October/554552.html

总结

以上是内存溢出为你收集整理的python – Celery死于DBPageNotFoundError全部内容,希望文章能够帮你解决python – Celery死于DBPageNotFoundError所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/langs/1207110.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-06-04
下一篇 2022-06-04

发表评论

登录后才能评论

评论列表(0条)

保存