因为一些芹菜过程获得了很高的内存使用率.
我想在更改之前找到此设置的默认值,但我无法找到该信息.
我看了here,但我不想把它设置为1,因为我不希望它重新启动每个任务.
解决方法 默认情况下没有限制http://celery.readthedocs.org/en/latest/configuration.html#celeryd-max-tasks-per-child
您可以从defaults.py中查看所有默认配置值
https://github.com/celery/celery/blob/master/celery/app/defaults.py
>>> from celery import conf>>> conf.CELERYD_MAX_TASKS_PER_CHILD is NoneTrue总结
以上是内存溢出为你收集整理的python芹菜max-tasks-per-child-setting默认值全部内容,希望文章能够帮你解决python芹菜max-tasks-per-child-setting默认值所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)