Open tvanesse opened 8 years ago
hi i am new to heroku app can you please provide detail for deploy django celery in heroku i tried with heroku-redis but fail not return any log and not run task as well my isuue in detail https://github.com/celery/django-celery/issues/455
please give me your valuable suggstion for that
Hi @tvanesse, did you find a solution for this issue? it's been 4 years now and I'm experiencing the exact same thing. Thanks
I have a Django (1.8) application hosted on Heroku and using a Postgres (9.4.4) database. There are 2 pro dynos: one that runs the web server, one that runs a Celery (3.1) worker, Celery being configured with the database backend.
The application has been running smoothly for the past weeks/months but for a couple of days I'm experiencing some downtimes of a few seconds every now and then.
From the logs, it appears to be related to the dynos being cycled for an unknown reason:
and according to the heroku documentation this could be "OK" as dynos need to be cycled at least once a day.
In the meantime the same thing happens for the worker, but this is where the problems come:
And the problem occurs now more than 15 times a day.
Does anyone know why the dynos are receiving this SIGTERM signal? Also why would cycling lead to the "OperationalError: terminating connection due to administrator command" error? Why is Postgres closing its connections even though we are far below the limit set by heroku? This may or may not be related to
django-celery
, I have no idea.