9 months ago
Hi I am trying to host a django app with a celery worker I am making use of a procfile I have also used the start command but I am not able to get it working.
My procfile content
web: gunicorn appname.wsgi
worker: celery -A appname worker --loglevel=info
I also made use of setting up the start command and got to this point
Might this be due to me using the trail tier? I don't really want to upgrade unless I actually get it working. This is for sure a skill issue on my side. Thanks
3 Replies
9 months ago
Hey Jonathan,
It looks like you have it figured out, where you need one service to run celery and another service to run the web app!
Railway doesn't support specifying web and workers in one Procfile.
I noticed your memory on celery is crazy high, you may want to lower the concurrency - https://docs.celeryq.dev/en/stable/userguide/workers.html#concurrency
9 months ago
Hey where can I check this usage thanks
9 months ago
Hey where can I check this usage thanks
https://docs.railway.app/overview/the-basics#service-metrics
Status changed to Solved brody • 9 months ago