-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
清理django_q_task表以后工单无法成功执行 #2023
Comments
清空django_q_task并不会影响后续任务的执行,看下debug信息里的qcluser状态
|
{ |
Queued这么多,都是排队状态,worker消费不过来,可以增加worker数,真不行可以清一下队列重新执行 |
调查清楚了,我们自己增加的自动脱敏任务创建了太多任务导致的,谢谢作者 |
重现步骤
我们公司部署的Archery已经运行了2年多,django_q_task表数据量过大,目前有50多G,在测试环境对该表truncate后发现所有工单都无法执行成功,均为排队中的状态,尝试过以下排错无果:
1、archery.log、qcluster.log、supervisord.log 三个日志没有报错信息
2、goInception中通过inception show processlist看不到工单
3、Failed task里没有失败的任务
4、python manage.py qmonitor是正常RUNNING状态
预期外的结果
日志文本
No response
版本
1.8.4
部署方式
手工部署
是否还有其他可以辅助定位问题的信息?比如数据库版本等
MySQL: 5.7.30
Browsers: Chrome
goInception: v1.3.0-42
The text was updated successfully, but these errors were encountered: