Greenlet运行时错误和Docker中已部署的应用程序不断引导所有工作程序 [英] Greenlet runtime error and deployed app in docker keeps booting all the workers
问题描述
运行时警告:greenlet.greenlet大小已更改,可能表明二进制
不兼容。预期从C标头中获得144,从PyObject中获得152
RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
所有工作程序都正在启动。
And all the workers are being booted.
2020-09-28T14:09:41.864089908Z [2020-09-28 14:09:41 +0000] [31] [INFO]
正在使用pid引导工人:2020-09-28T14 :09:43.933141974Z [2020-09-28
14:09:43 +0000] [32] [INFO]使用pid启动工人:32
2020-09-28T14:09:44.317436676Z [ 2020-09-28 14:09:44 +0000] [33] [INFO]
pid的引导工人:33 2020-09-28T14:09:44.795236476Z [2020-09-28
14 :09:44 +0000] [34] [信息]使用pid引导工作人员:34
2020-09-28T14:09:41.864089908Z [2020-09-28 14:09:41 +0000] [31] [INFO] Booting worker with pid: 31 2020-09-28T14:09:43.933141974Z [2020-09-28 14:09:43 +0000] [32] [INFO] Booting worker with pid: 32 2020-09-28T14:09:44.317436676Z [2020-09-28 14:09:44 +0000] [33] [INFO] Booting worker with pid: 33 2020-09-28T14:09:44.795236476Z [2020-09-28 14:09:44 +0000] [34] [INFO] Booting worker with pid: 34
一周前运行良好,现在我'm开始出现问题。
It was working fine a week back or so and now I'm starting to have the problem.
推荐答案
如 https://discuss.redash.io/t/binary-compatibility-issue-with-greenlet/7237
表示
a解决方法是greenlet == 0.4.16或将您的gevent升级到20.9。 0
as https://discuss.redash.io/t/binary-compatibility-issue-with-greenlet/7237 indicates a workaround is greenlet==0.4.16 or upgrade your gevent to 20.9.0
在greenlet github页面上建议以下修复程序
following fix is suggested on the greenlet github page
https://github.com/python-greenlet/greenlet/issues/178#issuecomment-697342964
另请参阅以下问题
- https://github.com/python-greenlet/greenlet/issues/180
- https://github.com/python-greenlet/greenlet/issues/182
- https://github.com/python-greenlet/greenlet/issues/178
- https://github.com/python-greenlet/greenlet/issues/180
- https://github.com/python-greenlet/greenlet/issues/182
- https://github.com/python-greenlet/greenlet/issues/178
这篇关于Greenlet运行时错误和Docker中已部署的应用程序不断引导所有工作程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!