how to run celery on railway
ehab98
TRIALOP

2 years ago

i have created a service with the same repo of the project and make the custom start command , to run celery "celery -A core worker --loglevel=info" , but i got that i can`t run celery as a root , how to solve this

Aug 17 18:23:58

/opt/venv/lib/python3.10/site-packages/celery/platforms.py:829: SecurityWarning: You're running the worker with superuser privileges: this is

Aug 17 18:23:58

absolutely not recommended!

Aug 17 18:23:58

Aug 17 18:23:58

Please specify a different user using the --uid option.

Aug 17 18:23:58

Aug 17 18:23:58

User information: uid=0 euid=0 gid=0 egid=0

Aug 17 18:23:58

Aug 17 18:23:58

warnings.warn(SecurityWarning(ROOT_DISCOURAGED.format(

2 Replies

brody
EMPLOYEE

a year ago


raschidjfr
HOBBY

5 months ago

That solved the problem for me. I'm on the free plan, which includes max 2 vCPUs…

Is 1 the max recommended concurrency for this plan or could I increase to 2 without expecting certain crashes?


Loading...