Django 芹菜和Redis的内存一直不足
我在Heroku上部署了一个Django应用程序,其中一个工作进程运行芹菜(+celerycam用于监视)。我使用RedisToGo的Redis数据库作为代理。我注意到Redis的内存一直不足 这就是我的procfile的外观:Django 芹菜和Redis的内存一直不足,django,redis,celery,celeryd,celerybeat,Django,Redis,Celery,Celeryd,Celerybeat,我在Heroku上部署了一个Django应用程序,其中一个工作进程运行芹菜(+celerycam用于监视)。我使用RedisToGo的Redis数据库作为代理。我注意到Redis的内存一直不足 这就是我的procfile的外观: web: python app/manage.py run_gunicorn -b "0.0.0.0:$PORT" -w 3 worker: python lipo/manage.py celerycam & python app/manage.py celer
web: python app/manage.py run_gunicorn -b "0.0.0.0:$PORT" -w 3
worker: python lipo/manage.py celerycam & python app/manage.py celeryd -E -B --loglevel=INFO
以下是键“*”的输出:
celeryev.643a99be-74e8-44e1-8c67-fdd9891a5326
正在被以下消息填满:
{"sw_sys": "Linux", "clock": 1, "timestamp": 1325914922.206671, "hostname": "064d9ffe-94a3-4a4e-b0c2-be9a85880c74", "type": "worker-online", "sw_ident": "celeryd", "sw_ver": "2.4.5"}
知道我可以做些什么来定期清除这些消息吗?这是一个解决方案吗
链接已关闭,这就是为什么您不发布链接,而是发布解决方案。